跳至内容
菜单
此问题已终结
2 回复
1859 查看

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.

形象
丢弃
最佳答案

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

形象
丢弃
编写者 最佳答案

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.

形象
丢弃
相关帖文 回复 查看 活动
4
7月 24
6709
2
7月 24
3269
4
6月 24
25367
3
4月 24
2329
1
2月 24
3347