콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
3 답글
6296 화면

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
6292
2
6월 23
5749
2
8월 25
2843
1
7월 25
1156
1
8월 25
1152