Forum Moderators: coopster
I am going to build a website,that support for the multiple languages.
When the user choose the different language the site to be changed according to the user chosen language.
I knew that alot of CMS using this feature,but i want to build the site without CMS.
Can anyone help me to give suggestion.
Thanks
ravi
Ideally you need a language file that holds all your websites language. And then for each new language, a translation of the same file. Say, english.php, french.php, german.php etc
Then have a drop down menu or a link for people to choose their language and set a cookie, so that the language is still set when they return. Read from the cookie to determine which language file to load. If cookie isn`t set, load default.
dc