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.
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
RegistrierenVerknüpfte Beiträge | Antworten | Ansichten | Aktivität | |
---|---|---|---|---|
|
1
Juni 15
|
5122 | ||
|
0
März 25
|
1250 | ||
|
4
Apr. 24
|
173931 | ||
|
0
Dez. 23
|
2020 | ||
|
5
Juli 25
|
227396 |
You çan use _ function from openerp tool! _('str translatable')