Closed miurahr closed 9 years ago
When specified label and verbose_name in apps.py, django 1.7 ignores verbose_name and use label.title() for admin interface.
For example;
class SponsorshipConfig(AppConfig): name = "symposion.sponsorship" label = "symposion_sponsorship" verbose_name = "Symposion Sponsorship"
That make admin screen tiltle "Symposim_Sponsorship" that is as same as lable.title().
When trying to i18n app such as
class SponsorshipConfig(AppConfig): name = "symposion.sponsorship" label = "symposion_sponsorship" verbose_name = _("Symposion Sponsorship")
then it is no work. I see admin screen with titled "Symposion_Sponsorship" that is as same as label.title()
class SponsorshipConfig(AppConfig): name = "symposion.sponsorship" verbose_name = _("Symposion Sponsorship")
is working i18n/l10n well. I see a translated string in admin screen.
This is a problem not on symposion but on django-admin-tools, sorry.
When specified label and verbose_name in apps.py, django 1.7 ignores verbose_name and use label.title() for admin interface.
For example;
That make admin screen tiltle "Symposim_Sponsorship" that is as same as lable.title().
When trying to i18n app such as
then it is no work. I see admin screen with titled "Symposion_Sponsorship" that is as same as label.title()
is working i18n/l10n well. I see a translated string in admin screen.