Page 1 of 1

Localizing data stored in database

Posted: Fri Jun 18, 2010 11:09 pm
by coolkrishna
Hi,
I have to develop a website that stores all its contents in database. This means i can not use language files for translation. Can anyone suggest me how to translate dynamically generated database data in user language..................................

Re: Localizing data stored in database

Posted: Fri Jun 18, 2010 11:34 pm
by s.dot
Wow, that is a tough one.
I'd store your "language" files in a separate table. Each piece of content with a separate entry for each language. Then pull the data based on the launguage.

Re: Localizing data stored in database

Posted: Sat Jun 19, 2010 3:39 am
by coolkrishna
Actually i want real time translation because I don't know what data is stored in database table at particular instant as site users dynamically add content.

Re: Localizing data stored in database

Posted: Sat Jun 19, 2010 4:12 am
by s.dot
good luck

Re: Localizing data stored in database

Posted: Sat Jun 19, 2010 7:46 am
by josh
Find someone that offers an API.