コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
5832 ビュー

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
5199
0
3月 25
1433
4
4月 24
174319
0
12月 23
2197
5
7月 25
228216