我正在研究 Django,我看到我的翻译被 troncated。我不知道为什么。例如我有那个代码:
{% blocktrans %}the water{% endblocktrans %}
当我查看 django.po 时,我写道:
msgid "the water"
msgstr "el agua"
然后我就这样做了:
compilemessages
当我打开浏览器时,我只看到“el”而不是“el agua”。你知道我为什么会得到这个结果吗?
非常感谢 !
我正在研究 Django,我看到我的翻译被 troncated。我不知道为什么。例如我有那个代码:
{% blocktrans %}the water{% endblocktrans %}
当我查看 django.po 时,我写道:
msgid "the water"
msgstr "el agua"
然后我就这样做了:
compilemessages
当我打开浏览器时,我只看到“el”而不是“el agua”。你知道我为什么会得到这个结果吗?
非常感谢 !