Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
7468 Tampilan

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"
Avatar
Buang
Penulis Jawaban Terbai

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

Avatar
Buang
Jawaban Terbai

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,

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Mar 21
3353
0
Mei 20
3016
3
Des 19
5315
0
Apr 15
3685
1
Mar 15
4509