İçereği Atla
Menü
Bu soru işaretlendi
3 Cevaplar
5771 Görünümler

Hello,

I can generate a PDF from my invoice. However, I see that the "Tax" is not translated correctly in German, see this example:
 

I've check the 'de.po' file in 'report_intrastat/i18n', and I found actualy the translation:

msgid "Tax %.2f%%"
msgstr "Steuer %.2f%%"

In the accounting page is everything correct. This wrong translation occurs only after the print generator process. Both in HTML and PDF generates the same result.

So, how can I fix this wrong translation?
If not, how can I get the generated html code, so that I can modify it manually.

Avatar
Vazgeç
En İyi Yanıt

activate the dev mode and do it from Translated Terms in settings.  easy way.

update your PO file and then module on start and hopefully it will work.

updating/syncing translation from PO files that sometimes gets very messy because duplication. I have had that problem with v8-10, not sure if they fixed it with v11.

Avatar
Vazgeç
Üretici En İyi Yanıt

Hi, thanks for the reply.

Did you see the link example?
I just saw that the link above does not work.
Please check again the example in:

https://drive.google.com/file/d/1wovG9TQXHc5S9-cgbt1vxDaCFfH-Fm0b/view?usp=sharing

https://drive.google.com/file/d/1yf5odc_iyKEcq2_FpbXzTIb_kXeJEvVR/view?usp=sharing.So, if you still mean that I can change that in settings -> Translations -> Application terms -> Translated Terms.
Which translated modul and type shall I choose? There are already several translation for "Tax" already in the list, including these entries:


Tax                  Steuer                   ir.ui.view,arch_db    German / Deutsch    Object    Translated
Tax %.2f%%    Steuer %.2f%%    ir.ui.view,arch_db    German / Deutsch    Object    Translated

Avatar
Vazgeç

they all need to be in German no? translate them all. makes life easier.

Üretici

Hi Fatih, we don't understand each others.

As I mentioned, the translation entries are already there in the "Translated Terms" list. The issue occurs only in the generated html or pdf report (please, see the both links above), not in the Odoo UI or forms.

En İyi Yanıt

1.Activate Developer mode.

2. Goto settings -> Translations -> Application terms -> Translated Terms.

Update or create a new one.


Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Tem 25
711
2
Şub 23
2074
2
Haz 16
5956
4
Oca 24
16803
0
Haz 15
4069