Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
7343 Zobrazení

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
Zrušit
Autor Nejlepší odpověď

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

Avatar
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
bře 21
3221
0
kvě 20
2902
3
pro 19
5171
0
dub 15
3578
1
bře 15
4391