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

Hi folk,

How do we translate the python constraint message when the user is using some other language and not English?

아바타
취소

You çan use _ function from openerp tool! _('str translatable')

베스트 답변

Hi Vivek,


You can differentiate current language based on context dictionary & by that way you can display your custom language constraint message.


Hope that helps! Please let me know if it still doesn't work.

아바타
취소
관련 게시물 답글 화면 활동
1
7월 15
5387
0
3월 25
1764
4
4월 24
174756
0
12월 23
2486
5
7월 25
229862