Multilanguage report
Multilanguage report
Hello,
I want to provide report with multilanguage support (multi-language on the report labels).
Whats the best practice ?
I see 3 options:
1. Design multi-versions of the same definition;
2. Get the choosen language and localize at runtime from the report definition with a switch case (this requires a function to get the choosen language);
3. Translated the labels at runtime before invoke the render report.
For me the option 2 it's the best. Do you have a function to get the choosen language ?
Regards,
Hugo.
I want to provide report with multilanguage support (multi-language on the report labels).
Whats the best practice ?
I see 3 options:
1. Design multi-versions of the same definition;
2. Get the choosen language and localize at runtime from the report definition with a switch case (this requires a function to get the choosen language);
3. Translated the labels at runtime before invoke the render report.
For me the option 2 it's the best. Do you have a function to get the choosen language ?
Regards,
Hugo.
Re: Multilanguage report
Hello.
You can use Globalization Editor for this. It's possible to choose language from code:
Thank you.
You can use Globalization Editor for this. It's possible to choose language from code:
Code: Select all
report.localizeReport("en");
Re: Multilanguage report
Thank you.
Re: Multilanguage report
Hello.
We are always glad to help you.
Let us know if you need any additional help.
Thank you.
We are always glad to help you.
Let us know if you need any additional help.
Thank you.
Re: Multilanguage report
Out of topic.
I still think that this new interface (from the screenshoots) it's a way back, comparing to my current one. I hope that until the next major release you change it, otherwise will be block for the upgrade process.
I still think that this new interface (from the screenshoots) it's a way back, comparing to my current one. I hope that until the next major release you change it, otherwise will be block for the upgrade process.
Re: Multilanguage report
Hello.
You can use our old interface. You could set it using next code:
Thank you.
You can use our old interface. You could set it using next code:
Code: Select all
Theme.isTheme2013 = false;
Re: Multilanguage report
OK, good to know to you have a backward compatibility flag.
Re: Multilanguage report
Hugo,
Yes, we are trying to keep it.
Yes, we are trying to keep it.