Page 1 of 1

JS Localization

Posted: Tue Jan 31, 2023 11:21 pm
by dikan
I tried to localize the HTML5 viewer. I found class Stimulsoft.Base.Localization.StiLocalization and all the members but did not manage to have my viewer localized. Is there one who can point me to the complete process of localization by example. Nor demo.html nor any other example I can find with valid code.
Only thing I found was some Brazilian gay who wrote just one line of code like this but I adopt this for my language

Stimulsoft.Base.Localization.StiLocalization.addLocalizationFile("./Localization/sr.xml", false, "Srpski latinica");

No luck at all. In the documentation class is just shown with all the members, no explanation when to use, before or after creating a report, what are effects of documented methods, there is no line with valid parameters, just for lead.

regards.
dikan

Re: JS Localization

Posted: Wed Feb 01, 2023 8:57 pm
by Max Shamanov
Hello,

Please check the following link:
https://www.stimulsoft.com/en/documenta ... zation.htm

Thank you.

Re: JS Localization

Posted: Fri Feb 10, 2023 5:31 am
by dikan
How to enable on js viewer some kind of choosing localization? How user can choose preferred language?

Please if you ref to example, be sure that example could be started with relevant content.

Regards,

Dikan

Re: JS Localization

Posted: Fri Feb 10, 2023 8:07 pm
by Lech Kulikowski
Hello,

In the viewer, there is no special selection for localizations.

You can add your own selection and change the viewer localization as you need.

Thank you.