This question has been flagged
1 Reply
2868 Views

Hi,
I did many translations in Odoo forms and pdf, Here I have simple doubt. Can I translate XLS report to my language.?

Avatar
Discard
Best Answer

Yes. That is possible.

But you will have to use code type for the translation terms and translate them before writing them to XLS report.

You can use the _() method to translate a string in the code. You can see many examples in the code.

I hope you're using xlsxwriter for creating the Odoo reports.


Avatar
Discard
Author

Thank you for your quick response. I gave some translation to pdf updating fo po files. But I don't know what is the methodology behind _() methods. Could you please elaborate your anwser.?

Regards,

Nilmar