İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
7255 Görünümler

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
Vazgeç
Üretici En İyi Yanıt

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

Avatar
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Mar 21
3168
0
May 20
2860
3
Ara 19
5102
0
Nis 15
3517
1
Mar 15
4328