Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
7263 Prikazi

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
Opusti
Avtor Best Answer

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

Avatar
Opusti
Best Answer

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
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
mar. 21
3169
0
maj 20
2861
3
dec. 19
5108
0
apr. 15
3517
1
mar. 15
4328