Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2 Besvarelser
5941 Visninger

Hi folk,

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

Avatar
Kassér

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

Bedste svar

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
1
jun. 15
5286
0
mar. 25
1619
4
apr. 24
174531
0
dec. 23
2376
5
jul. 25
229088