I try to translate my django site to another languages but translation in python doesn't work. But translation in templates using trans tag, works as expected.
I have tried ugettext
, gettext
, gettext_lazy
and ugettext_lazy
, and every time I got original untranslated strings.
My sources all in utf-8 encoding, original strings in Ukrainian language