django-modeltranslation icon indicating copy to clipboard operation
django-modeltranslation copied to clipboard

Question: Using Modeltranslation with a legacy database

Open rmertens opened this issue 7 years ago • 0 comments

We have a legacy database with fields like:

widget_name, widget_name_es, widget_name_de

The main language is English and this is stored in widget_name. The other columns contain the respective translations.

We're now building a read-only Django application (not using Django admin, and not letting Django manage the tables). To use Modeltranslation, would we have to add a widget_name_en column which is a duplicate of widget_name? Is it required? Are there other DB schema things required?

rmertens avatar Jul 05 '17 12:07 rmertens