Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
7274 Vues

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
Ignorer
Auteur Meilleure réponse

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

Avatar
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
1
mars 21
3172
0
mai 20
2877
3
déc. 19
5117
0
avr. 15
3520
1
mars 15
4340