Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
5819 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
5192
0
mar. 25
1389
4
abr. 24
174301
0
dez. 23
2188
5
jul. 25
228134