I am developing a website using PHP and MySQL I used XML for static data to be able to create multilingual website the problem is with the other content in the database is it better to create a column for every language in each table or what?
and i am not using any template engine
So i would like to know what are the good approaches to be able to solve this problem.
Thanks in advance
It would be better to add a
languagecolumn to the database table(s). When new content is saved to the database, the language would have to be set. On the front end, you pull the content based on the language the user has selected.