Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
1837 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Autor Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
4
čvc 24
6676
2
čvc 24
2783
4
čvn 24
25310
3
dub 24
2310
1
úno 24
2876