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

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?

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor

Added the solution

Autor Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
mar 15
6060
2
cze 23
5416
2
sie 25
2194
1
lip 25
747
1
sie 25
1150