How to show Language code in field label in Django translated fields

110 views Asked by At

i used django translated fields to create some monolingual fields in my models. It works good, but in admin page, in add page, there is two same fields for every translated fields i created. How can i show language code for each field?

What it is showing now

What i want it to be

*Update: I added this code in my translated field and now it shows what i want. But I'm looking for an automatic way to do it.

{
    "en": {"verbose_name": _('File Title')+' (en)'},
    "de": {"verbose_name": _('File Title')+' (de)'}
}
0

There are 0 answers