Skip to Content
Menu
This question has been flagged
2 Replies
5848 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ún 15
5221
0
mar 25
1443
4
apr 24
174325
0
dec 23
2202
5
júl 25
228259