what database are you talking about?
2 choices
1) have different folders with different languages, means just copy your English file and just modify the English part to whatever language you want. This way is easier but more time consuming to modify.
2) use the same files but on the server side, replace the English bits with other languages. To store the translations, u can use session variables, constants, other files that you use server side code to read, or read from database.
Originally posted by Trcyng:I don’t really understand, could you elaborate further?
Ok, example below:
1) you may create different directory for each language and when people access the website, they have to go to www.mine.com/en/ for English and www.mine.com/cn/ for Chinese. Basically, you will have 2 sets of files. 1 set for each language. Means you can hardcode the words for each file in each folder. Only similarity between the 2 sets of files will be the server side codes like PHP or ASP or ASP.Net.
2) you access the website using same URL like www.mine.com but in each file, you need to dynamically output the words that need translating.
Eg. in PHP
<body>
This page is in <?echo $mylanguage;?>.
</body>
You will have to decide how you want to get the data into the $mylanguage variable. As mentioned earlier, you can get the translation from session variables, constant variables, read the translation from a text file or read from a database table.