Enterprise v16.0
My PO file is ok.
I want to update the translation of a custom module.
But when i go for the update of the po file i get the following:
AttributeError: 'TranslationImporter' object has no attribute 'lang'
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Enterprise v16.0
My PO file is ok.
I want to update the translation of a custom module.
But when i go for the update of the po file i get the following:
AttributeError: 'TranslationImporter' object has no attribute 'lang'
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
Hello,
I have found a solution to your problem. In version 16, the translation files should be placed in yourmodule/i18n/ directory, alongside the "yourmodule.pot" file. If you don't have this file, you will see the issue displayed on your screen.
yourmodule/i18n/
-->/ yourmodule.pot
-->/fr.po
-->/es.po
.
.
.