我使用变色龙页面模板作为我的模板语言,我想给我的翻译一个提示。(在这种情况下,因为根据上下文的不同,"you“一词可以被完全不同的翻译。)
我在文档中找不到这方面的技术。
我该怎么做?有可能吗?
我可以滥用I18n:目标,但我宁愿不。
.po文件的最终部分如下所示:
我更喜欢这样的解决方案,我认为这是向翻译人员提供提示的标准gettext方式。
#. i18n: Translate this very formally.
msgid "you"
msgstr ""发布于 2013-06-24 15:58:26
我已经找到了一个很难看的解决方案,这取决于你的翻译家是否有点机警。
<tal:block i18n:translate="">
<tal:block
i18n:name="This is not a dynamic element, this is a hint for translators: translate this very formally"
>you</tal:block>
</tal:block>这将在.po文件中结束,如下所示:
msgid ""
"${This is not a dynamic element, this is a hint for translators: translate this very formally}you"
msgstr ""https://stackoverflow.com/questions/17279451
复制相似问题