Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
6351 Visualizações

Hi folk,

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

Avatar
Cancelar

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

Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
jun. 15
5642
0
mar. 25
2065
4
abr. 24
175275
0
dez. 23
2759
5
jul. 25
231039