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"
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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,
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Mar 21
|
1394 | ||
|
0
May 20
|
1957 | ||
|
3
Dec 19
|
3800 | ||
|
0
Apr 15
|
2742 | ||
|
1
Mar 15
|
3316 |