Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4086 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.


Ảnh đại diện
Huỷ bỏ
Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 12 23
1270
0
thg 3 25
1026
1
thg 5 24
2996
3
thg 3 15
11047
1
thg 10 23
13123