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.
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Jun 15
|
4522 | ||
|
4
Apr 24
|
170699 | ||
|
0
Dec 23
|
593 | ||
|
5
Nov 24
|
216981 | ||
|
2
Mar 23
|
3791 |
You çan use _ function from openerp tool! _('str translatable')