Django Book 翻译
菜单>:
TOC
返回
原文:
Translation hooks are also available within any template block tag that accepts constant strings. In those cases, just use ``_()`` syntax to specify a translation string, for example:
翻译:
翻译的hook在任何接受常量字符串的模板块标签内也是可以使用的。此时,使用 ``_()`` 表达式来指定翻译字符串,例如:
备注:
译者: