Hello,
Did anybody of you has implemented multi-language functionality to your webpages??well, i did long time back using interbase as the database and stored-procedures.I store all the language phrases in a table and get them every time i change the language.
I would like to implement it now using mysql.Can anybody suggest me a nice tutorial/useful information.
Thanks in advance
Multi-language functionality
Moderator: General Moderators
-
minds_gifts
- Forum Commoner
- Posts: 63
- Joined: Mon Feb 10, 2003 4:23 am
The way I've usually seen it done, or at least the way I saw it for phpBB 1,(not sure if it's the same for 2) was each language had it's own include file that had in it a bunch of variables with the phrase or words in the appropriate language. In the configuration file you specified which language you were using, and the appropriate language file would be used dependent on your configuration file.
If you were going to use a MySQL DB, you could have a similar theory but instead of files, you could have a seperate table for each language. Not sure on the practicality of that, but it would work.
If you were going to use a MySQL DB, you could have a similar theory but instead of files, you could have a seperate table for each language. Not sure on the practicality of that, but it would work.