gettext translation not working on production system

后端 未结 2 1222
北海茫月
北海茫月 2021-01-13 00:56

I\'ve encountered a strange problem when translating strings (in the admin) using django\'s gettext: Locally running the dev server all translations are display

2条回答
  •  一生所求
    2021-01-13 01:36

    A few possibilities:

    • production server doesn't see the compiled messages
    • the untranslated messages are marked as fuzzy
    • _() resolves to ugettext instead of ugettext_lazy

提交回复
热议问题