Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
5845 Zobrazení

Hi folk,

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

Avatar
Zrušit

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

Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
čvn 15
5221
0
bře 25
1438
4
dub 24
174323
0
pro 23
2201
5
čvc 25
228253