Skip to Content
मेन्यू
This question has been flagged
2 Replies
5905 Views

Hi folk,

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

Avatar
Discard

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.

Avatar
Discard
Related Posts Replies Views Activity
1
जून 15
5257
0
मार्च 25
1514
4
अप्रैल 24
174376
0
दिस॰ 23
2279
5
जुल॰ 25
228500