JS Localization

Stimulsoft Ultimate discussion
Post Reply
dikan
Posts: 178
Joined: Thu Jun 18, 2009 5:05 pm
Location: Serbia

JS Localization

Post 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
Max Shamanov
Posts: 824
Joined: Tue Sep 07, 2021 10:11 am

Re: JS Localization

Post by Max Shamanov »

Hello,

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

Thank you.
dikan
Posts: 178
Joined: Thu Jun 18, 2009 5:05 pm
Location: Serbia

Re: JS Localization

Post 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
Lech Kulikowski
Posts: 6458
Joined: Tue Mar 20, 2018 5:34 am

Re: JS Localization

Post 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.
Post Reply