Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
5854 Представления

Hi folk,

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

Аватар
Отменить

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

Лучший ответ

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.

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
июн. 15
5223
0
мар. 25
1448
4
апр. 24
174327
0
дек. 23
2204
5
июл. 25
228268