Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
5725 Weergaven

Hi folk,

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

Avatar
Annuleer

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

Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
jun. 15
5118
0
mrt. 25
1236
4
apr. 24
173910
0
dec. 23
2009
5
jul. 25
227320