Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
2316 Lượt xem

I have a translation problem with odoo16. This occurred after upgrading from odoo15 to odoo16. I have written my own report layout module for invoices, which contains a folder i18n and the files en_US.po and modulname.pot. In odoo15 everything worked fine, but with odoo16 invoices issued for German customers are mixed. All content based on the module is in English, the content generated by odoo itself is in German. For a customer who is to receive an English-language invoice, everything is in English. I have updated both languages once in the language settings, but this does not change anything. Do I have to reset or update a setting somewhere else so that only German invoices are generated for German-speaking customers again?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

regenerate the po files and check if everything is translated.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

Please try exporting the (PO) translation file of the corresponding module from the settings for the german language. Add the translation to your newly downloaded file, and then replace the old PO file with it in your custom module. Afterward, upgrade your module.


Hope it helps

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Okay, thanks. On the one hand, I had to completely recreate the files, on the other hand I had to rename en_US.po to en.po. It was also necessary to create a de.po file containing the original language components.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
Odoo 16 Đã xử lý
1
thg 12 22
3673
8
thg 1 25
5841
1
thg 2 24
2304
1
thg 7 23
1716
2
thg 5 23
4442