为什么有些项目无法在Odoo中翻译? [英] Why are some items not translated in Odoo?

查看:215
本文介绍了为什么有些项目无法在Odoo中翻译?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Project 模块中的翻译有问题.某些菜单项未翻译.可能是什么问题?

I have a problem with translations in Project module. Some menu items are not translated. What could be the problem?

此处 project_view.xml

<!-- Top menu item -->
<menuitem name="Project"
    id="base.menu_main_pm"
    groups="group_project_manager,group_project_user"
    icon="fa-calendar"
    web_icon="project,static/description/icon.png"
    sequence="50"/>

此处 ru.po

#. module: project
#: model:ir.model,name:project.model_project_project
#: model:ir.model.fields,field_description:project.field_project_task_history_cumulative_project_id
#: model:ir.model.fields,field_description:project.field_project_task_project_id
#: model:ir.model.fields,field_description:project.field_report_project_task_user_project_id
#: model:ir.ui.view,arch_db:project.edit_project
#: model:ir.ui.view,arch_db:project.view_task_form2
#: model:ir.ui.view,arch_db:project.view_task_history_search
#: model:ir.ui.view,arch_db:project.view_task_project_user_search
#: model:ir.ui.view,arch_db:project.view_task_search_form
#: model:res.request.link,name:project.req_link_project
msgid "Project"
msgstr "Проект"

推荐答案

我在翻译时也遇到了这个问题.我也多次更新了模块base,并且可以正常工作,但有时没有必要.我要做的是下一个过程:

I've also had this problem with translations. I had updated module base a lot of times too and it worked, but sometimes it wasn't necessary. What I did is the next process:

  • 转到设置">翻译">加载翻译" ,选择您的 语言并选中覆盖现有条款框,然后单击 加载按钮.

  • Go to Settings > Translations > Load a Translation, select your language and check the box Overwrite Existing Terms, then click on Load button.

然后,按F5刷新浏览器,然后转到设置> 翻译>应用程序条款>同步条款,选择您的 语言,然后点击更新.然后再按一次F5键,看看您的 条款已更新.

After that, press F5 to refresh the browser, then go to Settings > Translations > Application Terms > Synchronize Terms, select your language and click on Update. Then press again F5 to see if your terms have been updated.

致谢.

这篇关于为什么有些项目无法在Odoo中翻译?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆