Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
1862 Widoki

Hi,

I created a manifest file with some ABAB description and pushed it do my production enviroment.

Then I added a new language "Spanish" and "Italian".

The module info says "ABAB" in all languages.


Then, I changed the manifest description to CDCD, and did another push.

But it does not matter how many times I update the module, the old ABAB still showing for Spanish and Italian. But in English is correct with the new CDCD.


What am I missing in order to update the manifest description for other languages?


Thank you in advance.

Awatar
Odrzuć
Najlepsza odpowiedź

Hi,

1) Go to
Settings ‣ Translations ‣ Import / Export ‣ Export Translations

leave the language to the default (new language/empty template) # DO NOT CHANGE THIS
select the PO File format
select your module
click Export and download the file

2) Add your translation terms in the downloaded file. i.e. msgstr "" section depending on your translation language
3) change the filename to language_iso_code.po
e.g. for portugese => pt.po

4) create i18n folder under your module and add po file in it.
5) restart Odoo

For more details, refer to the blog:
https://www.cybrosys.com/blog/configure-translation-to-custom-module-add-new-language-in-odoo-16

Hope it helps

Awatar
Odrzuć
Autor Najlepsza odpowiedź

Thank you Cybrosys Techno Solutions,

I can see the issue only on odoo.sh for production and staging ambients.

Everywhere else is working fine.

Probably an existing issue with odoo.sh?


However, thank you for your solutions.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
4
lip 24
6725
2
lip 24
3446
4
cze 24
25385
3
kwi 24
2335
1
lut 24
3517