Hi folk,
How do we translate the python constraint message when the user is using some other language and not English?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi folk,
How do we translate the python constraint message when the user is using some other language and not English?
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.
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
AanmeldenGerelateerde posts | Antwoorden | Weergaven | Activiteit | |
---|---|---|---|---|
|
1
jun. 15
|
5118 | ||
|
0
mrt. 25
|
1236 | ||
|
4
apr. 24
|
173910 | ||
|
0
dec. 23
|
2009 | ||
|
5
jul. 25
|
227320 |
You çan use _ function from openerp tool! _('str translatable')