Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
5804 Prikazi

Hi folk,

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

Avatar
Opusti

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
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
jun. 15
5177
0
mar. 25
1367
4
apr. 24
174256
0
dec. 23
2161
5
jul. 25
228012