跳至内容
菜单
此问题已终结

I created new module named "name" with title "Name". How to set its name translation? Editing name/i18n/lang.po does not work.

#. module: base
#: model:ir.module.module,shortdesc:base.module_name
msgid "Name"
msgstr "Translated Name"
形象
丢弃
编写者 最佳答案

ir.module.module name field is technical name. shortdesc is Title. It already has translate=True. Core modules translates normally.

形象
丢弃
最佳答案

Hi Dmitry,

First of all you have to add translate=True as attribute of name field in ir.module.module model.

After that you can follow the steps of adding translation in PO file for python file.

Thanks,

形象
丢弃
相关帖文 回复 查看 活动
1
3月 21
3167
0
5月 20
2857
3
12月 19
5099
0
4月 15
3512
1
3月 15
4323