语言环境/bg/LC_MESSAGES/django.po:
#: .\users\templates\account\login.html:44
msgid "Sign In"
msgstr "asdfbg"
语言环境/zh-CN/LC_MESSAGES/django.po:
#: .\users\templates\account\login.html:44
msgid "Sign In"
msgstr "asdfen"
用法:
{% trans "Sign In" %}
所以..如果 settings.py 中的LANGUAGE_CODE
设置为:
LANGUAGE_CODE = 'bg'
文本为'asdfbg'
但如果LANGUAGE_CODE设置为:
LANGUAGE_CODE = 'en-us'
它显示“登录” 而不是'asdfen'
我在哪里错了?