İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
5800 Görünümler

Hi folk,

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

Avatar
Vazgeç

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

En İyi Yanıt

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.

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Haz 15
5177
0
Mar 25
1367
4
Nis 24
174256
0
Ara 23
2161
5
Tem 25
228012