Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
6512 Vistas

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 Mejor respuesta

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

Avatar
Descartar
Mejor respuesta

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
Publicaciones relacionadas Respuestas Vistas Actividad
1
mar 21
1959
0
may 20
2275
3
dic 19
4381
0
abr 15
2971
1
mar 15
3803