Django Book 翻译
菜单>:
TOC
返回
原文:
Each string in ``packages`` should be in Python dotted-package syntax (the same format as the strings in ``INSTALLED_APPS`` ) and should refer to a package that contains a ``locale`` directory. If you specify multiple packages, all those catalogs are merged into one catalog. This is useful if youre depending upon JavaScript that uses strings from different applications.
翻译:
``packages`` 里的每个字符串应该是Python中的点分割的包的表达式形式(和在 ``INSTALLED_APPS`` 中的字符串相同的格式),而且应指向包含 ``locale`` 目录的包。如果指定了多个包,所有的目录会合并成一个目录。如果有用到来自不同应用程序的字符串的JavaScript,这种机制会很有帮助。
备注:
译者: