Django: Running site on many languages
django, internationalization
Solution
One simple approach to this problem is to add a "language" field in each model which identifies the language used for each record. This seems to be the approach used by django-pluggable-model-i18n.
Another approach is to use Python metaclasses to identify fields for translation, as used by django-translate and django-transmeta.
There are several other projects but many of them seem abandoned or lower quality. Django-transmeta always seemed the most interesting to me.
Edit: muhuk just wrote an excellent article today reviewing different translation projects: http://www.muhuk.com/2010/01/dynamic-translation-apps-for-django/
Problem
I want to run an article site on several languages, I already translated translation strings, so my templates are ready. I only have a questions how to store articles in many languages? Should I create a database for each translation or it works in different way? If I have for example this basic model: ``` class Article(models.Model): models.TextField() ``` And want to store data in many languages, how do I do it? How to organize redirects between one article on different languages