Django i18n:翻译没有出现的常见原因 [英] Django i18n: Common causes for translations not appearing
本文介绍了Django i18n:翻译没有出现的常见原因的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
_('Whatever')
,就像他们应该的那样,他们也在邮件文件中翻译,是的,我记得做 compilemessages
。 翻译的一些常见原因不是这样吗?
解决方案
也许翻译的字符串被标记为 fuzzy
?
I am making a multilingual Django website. I created a messages file, populated and compiled it. I checked the site (the admin in this case,) in my wanted language (Hebrew) and most phrases appear in Hebrew like they should, but some don't. I checked the source and these still appear as _('Whatever')
like they should, also they are translated on the messages file, and yes, I remembered to do compilemessages
.
What are some common causes for translations not to appear like that?
解决方案
Maybe the translated strings are marked as fuzzy
?
这篇关于Django i18n:翻译没有出现的常见原因的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文