تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
7264 أدوات العرض

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"
الصورة الرمزية
إهمال
الكاتب أفضل إجابة

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

الصورة الرمزية
إهمال
أفضل إجابة

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,

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
مارس 21
3169
0
مايو 20
2861
3
ديسمبر 19
5108
0
أبريل 15
3518
1
مارس 15
4328