hello guys, im using odoo 13 and i have these new warning messages:
and three of them on new custom module, when i change language of the user it did'nt translated automatically, how to do it? thanks
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
hello guys, im using odoo 13 and i have these new warning messages:
and three of them on new custom module, when i change language of the user it did'nt translated automatically, how to do it? thanks
You will have to add the translation for these error messages. For this, you need to export the translation as shown in the screenshot.
Go to the "Settings / Translations / Export Translations"
Now, download the po file, add your translation in the file and import the file again.
Hello
I have the same issue but unfortunnatly when I export the PO file python text are not exported.
Is there a solution?
Thanks
Not every string from the code is exported automatically and needs to be wrapped, to be exported.
For UserError I do it like this:
raise UserError("This is an error!") => will not be exported
raise UserError(_("This is an error!")) => will be exported
Here is some Odoo documentation about the topic:
https://www.odoo.com/documentation/14.0/developer/misc/i18n/translations.html
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
Nov 18
|
10777 | ||
|
3
Mar 19
|
2838 | ||
|
0
Nov 16
|
318 | ||
|
0
Jun 21
|
5150 | ||
|
1
Apr 19
|
3926 |