Skip to Content
Menu
This question has been flagged

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
Discard
Best Answer

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
Discard
Author Best Answer

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
Discard

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

Author

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.

Best Answer

1.Activate Developer mode.

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

Update or create a new one.


Avatar
Discard
Related Posts Replies Views Activity
2
Feb 23
777
2
Jun 16
4571
4
Jan 24
14955
0
Jun 15
2956
0
Oct 24
115