Translate model fields' attributes from a Database with Django?
- by Luiz C.
I'm trying to create a Model that has fields that have the following attributes translatable: verbose_name and choices. I can easily do this by tagging the strings and using the i18l middleware. The problem is that I don't want to define the translation in po/mo files. Is there a way to pull this data from a database table? If so, any examples?
There are some options out there that offer model content translation. That is not my case. I need to translate the verbose_name, choices and error_messages from database.