Skip to content Skip to sidebar Skip to footer

Custom Django Multilingualtextfield Model Field

I'm trying to create Multilingual text field in Django for my project. I use JSON to store translated text in database and write custom code in field to retrieve it in the right la

Solution 1:

You can take a look Django Model Translation . It doesn't store the data in json but rather creates different db columns for each language(ex. text_en, text_fr ..) which I think is better.


Post a Comment for "Custom Django Multilingualtextfield Model Field"