Django Book 翻译
菜单>:
TOC
返回
原文:
In this example, ``gettext_lazy()`` stores a lazy reference to the string not the actual translation. The translation itself will be done when the string is used in a string context, such as template rendering on the Django admin site.
翻译:
在这个例子中, ``gettext_lazy()`` 将字符串作为惰性翻译字符串存储,此时并没有进行翻译。翻译工作将在字符串在字符串上下文中被用到时进行,比如在Django管理页面提交模板时。
备注:
译者: