Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
7286 Visualizações

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
Cancelar
Autor Melhor resposta

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

Avatar
Cancelar
Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
mar. 21
3173
0
mai. 20
2878
3
dez. 19
5126
0
abr. 15
3521
1
mar. 15
4344