跳至內容
選單
此問題已被標幟
2 回覆
7242 瀏覽次數

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