Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
6055 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
iul. 15
5367
0
mar. 25
1746
4
apr. 24
174743
0
dec. 23
2479
5
iul. 25
229756