Possible Duplicates:
Create a webpage with Multilanguage in PHP
PHP – how to translate a website into multiple languages?
I want to make a site which will have 3 languages – e.g. English, Arabic and Italian;
the content sure will be different from one language to another.
Should I make different table for each language, e.g.:
en_articles
ar_articles
it_articles
each with the same article in different language,
or make one table articles like this:
article_id
article_en_title
article_ar_title
article_it_title
Please advise me.
If you are very sure that you are going to work only with 3 languages, the best option is to use one table, with three columns, one for language:
If eventually you need to add other language, only add other column.
If you think that you are going to add other languages, o you want to use the code for others web with differents languages, I think that the best solution is to use 3 tables, one for the languages, one for the articles and other table for relation them
table “languages”
table “articles”
table “articles_x_languages”
I’m assuming that you are going to have each article in the three languages. Example: