跳至内容
菜单
此问题已终结
2 回复
5904 查看

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
5257
0
3月 25
1514
4
4月 24
174375
0
12月 23
2279
5
7月 25
228500