跳至内容
菜单
此问题已终结

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.

形象
丢弃
最佳答案

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.

形象
丢弃
编写者 最佳答案

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

形象
丢弃

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

编写者

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.

最佳答案

1.Activate Developer mode.

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

Update or create a new one.


形象
丢弃
相关帖文 回复 查看 活动
0
7月 25
712
2
2月 23
2074
2
6月 16
5956
4
1月 24
16803
0
6月 15
4069