Hi folk,
How do we translate the python constraint message when the user is using some other language and not English?
Hi folk,
How do we translate the python constraint message when the user is using some other language and not English?
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.
Skapa ett konto idag för att ta del av exklusiva funktioner och engagera dig i vår fantastiska community!
Registrera dig| Relaterade inlägg | Svar | Vyer | Verksamhet | |
|---|---|---|---|---|
|
1
juni 15
|
6617 | |||
|
0
mars 26
|
10 | |||
|
0
mars 25
|
4825 | |||
|
4
apr. 24
|
178801 | |||
|
0
dec. 23
|
4479 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
You çan use _ function from openerp tool! _('str translatable')