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

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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

Awatar
Odrzuć

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.

Najlepsza odpowiedź

1.Activate Developer mode.

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

Update or create a new one.


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
lip 25
711
2
lut 23
2074
2
cze 16
5956
4
sty 24
16803
0
cze 15
4069