Can't figure out why my app is not translated.
Here is the what I have in django.po
file:
#: products/__init__.py:4
msgid "Products"
msgstr "Продукты"
And I've put this into app's __init__
file:
from django.utils.translation import ugettext_lazy as _
_('Products')
And here's what I have in template:
<h2>{% trans app.name %}</h2>
I've compiled .po
file, i18n and l10n in settings are turned on. App's name translation doesn't work though.
UPDATE: now I can see app name translated in breadcrumbs on app's models objects lists pages, but not on index and app's models list pages.