Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
1895 Ansichten

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.

Avatar
Verwerfen
Beste Antwort

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

Avatar
Verwerfen
Autor Beste Antwort

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.

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
4
Juli 24
6798
2
Juli 24
3876
4
Juni 24
25461
3
Apr. 24
2376
1
Feb. 24
3933