Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
959 Widoki

I try to generate my first Invoice with Odoo in german. 

everything is translated to german except the "delivery date" (Lieferdatum) field.
Can i translate this field by my self? 


Awatar
Odrzuć
Autor Najlepsza odpowiedź

I have tried my luck for many hours now, but unfortunately without success. I have found the delivery date string in the "accouting" module. But the correct translation is also given here.
Unfortunately, I don't know why it is not used.

First founded Translation

account

model

ir.model.fields,field_description

account.field_account_move__delivery_date

Delivery Date

Liefertermin


Second foundet Translation:

account

model_terms

ir.ui.view,arch_db

account.report_invoice_document

Delivery Date:

Lieferdatum:

I found also the Translation für den PDF generation. But it dont work.

Any other ideas?


Awatar
Odrzuć

What is the purpose behind complicating translations in v16?

Najlepsza odpowiedź

Hi,
Activate the German language,


1) Go to Settings ‣ Translations ‣ Import / Export ‣ Export TranslationsLanguage: Germanselect the PO File format
select your moduleclick Export and download the file.
2) Add your translation terms to the downloaded file. i.e. msgstr "" section depending on your translation language
4) create an i18n folder under your module and add po file in it.

For editing the delivery date, follow the code
#. module: sale_management
#: model:ir.model.fields,field_description:sale_management.field_delivery_date
msgid "Delivery Date"
msgstr "Liefertermin"
Replace 'sale_management' with your module name and '_delivery_date' with the appropriate field name for translation in the code.

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
lip 25
651
2
lip 25
771
1
lip 25
1837
3
kwi 25
1874
3
kwi 25
2884