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.
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
RegistratiPost correlati | Risposte | Visualizzazioni | Attività | |
---|---|---|---|---|
|
1
giu 15
|
5019 | ||
|
0
mar 25
|
989 | ||
|
4
apr 24
|
173475 | ||
|
0
dic 23
|
1812 | ||
|
5
feb 25
|
226095 |
You çan use _ function from openerp tool! _('str translatable')