Building a multi-language website is not a trivial task and you will encounter many problems on this way,
and one of them is how you're planning to store the content of the site in the database for each language.
You may perform a small research on the Web and find enough resources about it, but there is no a magic solution, you have to understand this - each solution depends on your personal requirements, size of the database, complexity of your site, etc. So we'll discuss only major techniques. If you want to learn more, you may find additional information with a Google search.
Ok, so... there are more or less 4 popular databases schemas for multilanguage website.
You may perform a small research on the Web and find enough resources about it, but there is no a magic solution, you have to understand this - each solution depends on your personal requirements, size of the database, complexity of your site, etc. So we'll discuss only major techniques. If you want to learn more, you may find additional information with a Google search.
Ok, so... there are more or less 4 popular databases schemas for multilanguage website.
- Column Approach
- Multirow Approach
- Single Translation Table Approach
- Additional Translation Table Approach