Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
7252 Widoki

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"
Awatar
Odrzuć
Autor Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

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,

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
mar 21
3167
0
maj 20
2860
3
gru 19
5099
0
kwi 15
3513
1
mar 15
4328