Se rendre au contenu
Menu
Cette question a été signalée
3 Réponses
6102 Vues

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?

Avatar
Ignorer
Meilleure réponse

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

Avatar
Ignorer
Meilleure réponse

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

Avatar
Ignorer
Auteur

Added the solution

Auteur Meilleure réponse

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

Avatar
Ignorer
Publications associées Réponses Vues Activité
2
mars 15
6110
2
juin 23
5477
2
août 25
2380
1
juil. 25
886
1
août 25
1151