Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2 Besvarelser
5820 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
5192
0
mar. 25
1392
4
apr. 24
174302
0
dec. 23
2189
5
jul. 25
228136