Django-parler: edit all translations for a field in TranslatableModelForm

I use the django-parler plugin to manage translations of a specific model field. I have a TranslatableModelForm through which I can edit instances of a specific TranslatableModel . This model has one translatable field defined as follows:

 translations = TranslatedFields( description=models.TextField(null=True, blank=True), ) 

The default behavior of this model is to edit the description in a specific language. Is there an easy way to edit translations for this field at the same time without writing special code? In other words, the model form will display and process the field for each configured language ("Description (EN)", "Description (FR)", etc.) Instead of a simple "Description" field.

+4
source share

All Articles