Skip to Content
Menu
This question has been flagged
2 Replies
6064 Zobrazenia

Hi folk,

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

Avatar
Zrušiť

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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
1
júl 15
5376
0
mar 25
1756
4
apr 24
174748
0
dec 23
2482
5
júl 25
229779