导入openerp翻译

时间:2012-06-20 13:38:44

标签: openerp

我想问一下是否有任何好方法可以将许多翻译文件导入到openerp服务器?我知道我可以使用管理菜单一次导入一个文件。但这需要很多时间。

由于

1 个答案:

答案 0 :(得分:4)

您好我理解您的担忧需要花费很多时间并且挂起ui。

如果您是技术人员,那么请寻找国际化的服务器参数

OpenERP Internationalisation options

    Use these options to translate OpenERP to another language.See i18n
    section of the user manual. Option '-d' is mandatory.Option '-l' is
    mandatory in case of importation

    --load-language=LOAD_LANGUAGE
                        specifies the languages for the translations you want
                        to be loaded
    -l LANGUAGE, --language=LANGUAGE
                        specify the language of the translation file. Use it
                        with --i18n-export or --i18n-import
    --i18n-export=TRANSLATE_OUT
                        export all sentences to be translated to a CSV file, a
                        PO file or a TGZ archive and exit
    --i18n-import=TRANSLATE_IN
                        import a CSV or a PO file with translations and exit.
                        The '-l' option is required.
    --i18n-overwrite    overwrites existing translation terms on updating a
                        module or importing a CSV or a PO file.
    --modules=TRANSLATE_MODULES
                        specify modules to export. Use in combination with
                        --i18n-export

希望这能解决你的问题。