Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
6408 Vizualizări

Hi folk,

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

Imagine profil
Abandonează

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

Cel mai bun răspuns

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.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
iun. 15
5693
0
mar. 25
2122
4
apr. 24
175399
0
dec. 23
2801
5
iul. 25
231320