Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
5830 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
5197
0
mar. 25
1432
4
apr. 24
174319
0
dec. 23
2196
5
iul. 25
228215