Skip to Content
Menú
This question has been flagged
2 Respostes
5720 Vistes

Hi folk,

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

Avatar
Descartar

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
Descartar
Related Posts Respostes Vistes Activitat
1
de juny 15
5114
0
de març 25
1232
4
d’abr. 24
173902
0
de des. 23
2002
5
de jul. 25
227294