Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
7206 Vizualizări

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"
Imagine profil
Abandonează
Autor Cel mai bun răspuns

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

Imagine profil
Abandonează
Cel mai bun răspuns

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,

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
mar. 21
3135
0
mai 20
2817
3
dec. 19
5074
0
apr. 15
3497
1
mar. 15
4271