跳至內容
選單
此問題已被標幟
2 回覆
5805 瀏覽次數

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
6月 15
5177
0
3月 25
1367
4
4月 24
174256
0
12月 23
2161
5
7月 25
228012