跳至内容
菜单
此问题已终结
3 回复
6062 查看

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

形象
丢弃
相关帖文 回复 查看 活动
2
3月 15
6073
2
6月 23
5431
2
8月 25
2301
1
7月 25
827
1
8月 25
1150