Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
6167 มุมมอง

I inherited res_partner, the problem is that I would like to change the translation of a single word. In Italian the word "name" is translated as "nome" but also the word "first name" translates as "nome". what I would like to do is change the translation of res_partner to change the "name" (first name + last name) to "Full name". How can I do?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

1. Export the translation file from the addons you want to override.
2. Translate it using POEeit or similar.
3. Drop the translation file inside a i18n_extra folder in the addon. E.g.: addon/i18n_extra/fr.pot

4. Update the addon.

With that system, a sub-module is able to override translations from parent modules.

Hope it helps

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Let me know if the solution given by @cybrosis works for u.

อวตาร
ละทิ้ง
ผู้เขียน

Added the solution

ผู้เขียน คำตอบที่ดีที่สุด

My solution:

I have added the string from inherit model on my .po file

#: model:ir.model.fields,field_description:base.field_res_partner__name

Now I see correctly

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
Part of Odoo not translated แก้ไขแล้ว
2
มี.ค. 15
6193
2
มิ.ย. 23
5589
2
ส.ค. 25
2597
1
ก.ค. 25
1003
1
ส.ค. 25
1151