fralx / LimeReport

Report generator for Qt Framework
http://limereport.ru/
Other
404 stars 155 forks source link

Translation? #62

Closed asmaloney closed 7 years ago

asmaloney commented 7 years ago

I've been looking at the available report tools and this one looks very promising!

How would I handle translation of reports? Making a separate copy of each report for each language seems impractical (though of course some would have to be done by hand - right-to-left scripts for example). Populating all text through variables and relying on QObject::tr() seems a bit painful, but I guess that might work.

Any suggestions? Am I missing something?

Would be cool if I could do it directly in the designer - select the language, populate the text for that language, then on the Qt side request a specific language when I load the report.

fralx commented 7 years ago

Yes, i'm know this problem. I'm going to add translation in the designer soon

asmaloney commented 7 years ago

Great - thank you Arin!

fralx commented 7 years ago

Hi! I have added the translation in the development branch

asmaloney commented 7 years ago

Thank you! I'll take a look.