Multi Language Site

Out of context: Reply #3

  • Started
  • Last post
  • 3 Responses
  • flavorful0

    I run a slew of multi-language sites, and I use a combination of XML Files, and Database Fields all based off of country locale codes (1033 = en-US, 1034 = es-ES; for example).

    For Database, utilizing an -"_NLS" table on top of any of your content deliverables is a good idea, and you can set up the code behind to display the appropriate Locale ID based on the drop down they select. The premise here is that the Unique Key for a NLS table is now the Unique ID of the Content coupled with the Locale ID. Also, setting up the original table with default values, in case a Content/Locale ID does not exist and is requested - the default values can show.

    ...

    ...

    I would do some searches for "NLS Tables", "Locale ID" to start reading up on the subject.

    Of course, this is just how I do it which may be extremely more indepth than you need.

    Simply creating XML files and utilizing CDATA, you can kind of just swap what you need though too which would be a hell of a lot easier.

View thread