Hello,
I have found some other threads on this topic, however i have not found the answer I'm looking for.
There's the scenario:
I am using a MySql database for a multi-language website, mainly with blogs and comments. For each blog, there will be translations in 3 other languages. However, there will be cases where one or more of the translations will NOT exist. Also, the original thread can be in any one of these 4 languages.
Here is what i came up with so far:
One DB and one table called "blogs", and a different field for each language:
blog_en_EN, blog_es_ES, etc. and a different field is selected depending on the language. This way, only one primary key is enough to identify all languages of the blog.
However, I just don't like this. It seems like it would work fine, but it's redundant.
The ideal case would be having different tables for each language which share a primary key, however I don't know if this is even possible.
If sharing a key is not possible, i think linking the languages together with another field would make it more error prone.
I would appreciate any ideas or comments,
Thanks.
- Murat