I want to create an application with multiple languages. The languages has to be configured with an language option.
I’ve found these methods:
- make a copy of database tables one for default language and one for other. this way for all tables except the constant tables which add one additional column for the other language. 2.Add additional column for all tables with the other language. "the table size become huge and no imagination for supporting 3 or 4 languages!! "
- using language files, which add the labels, messages return to users with different languages!
- using database instead of language files to support to provide the labels, messages, here is the video that provide this practice.
- using translation API for example Zend_translate to translate the constant data, messages, labels and the data the user has entered with the default language.
What is the best case should I use and in the same time, I need it to be simple and not taking long time in development.
Note: the site add a lot of data, this data will be shown on the site with different languages. it's not about translate menu items, labels and so. it's about site content.