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.
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
|
1
يونيو 15
|
5142 | ||
|
0
مارس 25
|
1270 | ||
|
4
أبريل 24
|
174005 | ||
|
0
ديسمبر 23
|
2045 | ||
|
5
يوليو 25
|
227546 |
You çan use _ function from openerp tool! _('str translatable')