Skip to Content
Menu
This question has been flagged
2 Replies
6071 Rodiniai

Hi folk,

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

Portretas
Atmesti

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

Best Answer

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.

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
liep. 15
5383
0
kov. 25
1757
4
bal. 24
174750
0
gruod. 23
2482
5
liep. 25
229791