Skip to Content
Menú
This question has been flagged
2 Respostes
7301 Vistes

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
Descartar
Autor Best Answer

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

Avatar
Descartar
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
Descartar
Related Posts Respostes Vistes Activitat
1
de març 21
3191
0
de maig 20
2886
3
de des. 19
5129
0
d’abr. 15
3525
1
de març 15
4348