Multiple Language versions of a site

Out of context: Reply #4

  • Started
  • Last post
  • 5 Responses
  • uan0

    (no idea about cms', but some exp. in multilang pages)

    - use utf-8 encoding.
    - separate function from content in your code.
    - I use a variable lang to let the code know what content to load.
    - sometimes it makes more sense to separate the diff lang contents in subdirectories i.e. lang1/image.jpg , lang2/image.jpg, ... and in smaller sites i think its better to add the lang-var in the contentfile names i.e. image_lang1.jpg, image_lang2.jpg and have all content in 1 directory.

View thread