Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
5772 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Autor Nejlepší odpověď

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
Zrušit

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

Autor

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.

Nejlepší odpověď

1.Activate Developer mode.

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

Update or create a new one.


Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
čvc 25
711
2
úno 23
2074
2
čvn 16
5956
4
led 24
16803
0
čvn 15
4069