تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
5745 أدوات العرض

Hi folk,

How do we translate the python constraint message when the user is using some other language and not English?

الصورة الرمزية
إهمال

You çan use _ function from openerp tool! _('str translatable')

أفضل إجابة

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