For the front end of our web app, we're using the Language class of Codeigniter to support multiple languages.
For the back end: Some values in the database also need to be in multiple languages as they will be displayed on the front end.
Here are two approaches I have read about:
- Using language-specific columns for each field: title_en, title_es, title_fr
- Using one separate table that contains all translations
Was wondering if there were any more (better) approaches we should be aware about?