Translating models with django-parler
Django does not include built-in support to translate models. To manage content in multiple languages, you can either develop a custom solution or opt for a third-party module that facilitates model translation. There are several third-party applications available, each employing a unique method for storing and retrieving translations. One of these applications is django-parler
. This module provides a very effective approach for translating models and integrates smoothly with Django’s administration site.
django-parler
generates a separate database table for each model that contains translations. This table includes all the translated fields and a foreign key for the original object that the translation belongs to. It also contains a language field, since each row stores the content for a single language.
The django-parler
package has not received updates for several years. Despite this, many developers continue to use it...