Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2004

    localization of web site

    what is the best way to handle localization of a php site? Multilingual?
    say to have different language files for different pages
    is xml a solution or is it too complicated?

  2. #2
    PCHeroes Guest
    The quickest way is probally to make folders for each language and just copy your site to each one, all you would have to do then is create a single LANG file for each localized site.

    I'm sure there are much more advanced ways of doing this too which more experienced developers here could suggest

  3. #3
    Join Date
    Sep 2004
    Flint, Michigan
    It really depends a lot on how your site is setup and how many languages you are looking to do. I personally would go with PHP as it's very versatile and allows you to create additional languages "on the fly" if you will.

    PHP would also allow you to keep one "maser set" of actual content display files (the structure of your page) and with language calls inside it would then pop in the proper text/images where needed.

    If you were to just copy the site to another folder and change all the text to another language you would have to make any edits to the site twice. i.e. if you wanted to add an element to a page (lets say a helpdesk link) you would have to do it on however many copies you have of the page for each language.

    XML is certainly an option for pulling the language down and PHP5 has really nice XML support in it.
    Mike from
    Professional web design and development services.
    In need of a fresh hosting design? See what premade designs we have in stock!
    Web design tips, tricks, and more at

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts