Django Book 翻译
菜单>:
TOC
返回
原文:
Finally, you should give some thought to the structure of your translation files. If your applications need to be delivered to other users and will be used in other projects, you might want to use application-specific translations. But using application-specific translations and project translations could produce weird problems with ``make-messages`` . ``make-messages`` will traverse all directories below the current path and so might put message IDs into the project message file that are already in application message files.
翻译:
最后,需要考虑一下翻译文件的结构。若应用程序要发放给其他用户,应用到其它项目中,可能需要使用应用程序相关的翻译。但是,使用应用程序相关的翻译和项目翻译在使用 ``make-messages`` 时会产生古怪的问题。 ``make-messages`` 会遍历当前路径下的所有目录,所以可能会将应用程序信息文件已有的信息ID放在项目信息文件中。
备注:
译者: