multilanguage ?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
aneuryzma
Forum Contributor
Posts: 106
Joined: Sat May 17, 2008 7:03 am

multilanguage ?

Post by aneuryzma »

Hi!

Is there any framework handling multilanguage options for my website ?

How does it work ?
Should I store all the different text versions in a database and retrieve the correct row depending on the language selection ?

thanks
User avatar
Darhazer
DevNet Resident
Posts: 1011
Joined: Thu May 14, 2009 3:00 pm
Location: HellCity, Bulgaria

Re: multilanguage ?

Post by Darhazer »

Multilanguage have 2 aspects.
Multilanguage of the content... all texts should be saved in ML tables in the database, while common data (date added, author, foreign ids) can be saved in SL table.

Multilanguage of the interface... texts strings can be saved either in the database or in language files.
Post Reply