2👍
If you want to store your website content in the database you have obviously to store also translations. Basically duplicate text fields in various languages (as you did).
Django-transmeta does the same thing for you, and its main advantage is that you can add for example a new language for all your models (or add support for a new field) modifing one line of code (that is actually abstraction layer from the same you did), and syncronizing database. I think it’s a good choice.
For the rest I use the Django i18n features, take a look at this, it’s a good choice for hard-coded content of your website.
1👍
This question is quite old, but for those who might be looking, make sure to also check django-modeltranslation. It does model translation very simple and it’s pretty actively maintained. Docs here
- [Django]-How to escape a single quote within trans when the line is already wrapped with single quotes?
- [Django]-Production django server throwing "NoReverseMatch" while rendering, works on development
- [Django]-Copy file into another folder with django?
- [Django]-Trouble with pycurl.POSTFIELDS
- [Django]-Add link to main page on grappelli admin