i have made a web site where some content is pulled from db via php. I have now been told they want the site reproduced in Thai, German, Spanish etc..
Do i need to make seperate site or is there a way to php this?
Thanks for any advice
grandpa
9:40 am on Jun 6, 2005 (gmt 0)
One solution would be to add the specific language content to your database and then select the correct language based on the users preference, which is stored in a database somewhere.
One page, many languages.
mcibor
10:33 am on Jun 6, 2005 (gmt 0)
Also for all other text (menus, description, buttons) you may retireve data from xml choosing language.
There are few examples how it may be done on the net. Best regards Michal Cibor
mincklerstraat
12:09 pm on Jun 6, 2005 (gmt 0)
It's pretty common for scripts which are meant for international audiences to have 'language files' which allow the script to output its navigation stuff, script messages, etc. in your language of choice. Most of the time these files are just a whole lot of constants, so they're available globally without having to globalize anything.
You might want to check out some gpl scripts which do this - phpBB2, oscommerce, most of the *nukes, etc.