我使用Django allauth和标记为视图和翻译的字符串在运行makemessages后不会出现在.po文件中。Django allauth翻译不承认
例如,在site-packages/allauth/account/forms.py
:
from django.utils.translation import ugettext_lazy as _, ugettext
...
error = _("The username and/or password you specified are"
" not correct.")
而且我使用rosetta
的翻译,但allauth没有出现在第三方应用程序的列表。
为什么会makemessages
和rosetta
被忽略allauth翻译任何想法?
我该怎么做? – 2014-11-07 12:21:46