コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
7244 ビュー

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
2858
3
12月 19
5099
0
4月 15
3512
1
3月 15
4324