Can not set the default language
Posted: Mon Oct 05, 2020 12:58 am
Hi,
This:
Stimulsoft.Base.Localization.StiLocalization.addLocalizationFile("Localization/pt.xml", true, "pt");
Does load the language definition (with console warning) but loads however does not set pt as default language (tested on the designer).
And this:
Stimulsoft.Base.Localization.StiLocalization.cultureName = "pt";
Throw an error:
Uncaught TypeError: Cannot read property 'language' of undefined
at Function.getJsonStringLocalization (stimulsoft.reports.js:56)
at E.renderHtml (stimulsoft.designer.js:29)
This:
Stimulsoft.Base.Localization.StiLocalization.addLocalizationFile("Localization/pt.xml", true, "pt");
Does load the language definition (with console warning) but loads however does not set pt as default language (tested on the designer).
And this:
Stimulsoft.Base.Localization.StiLocalization.cultureName = "pt";
Throw an error:
Uncaught TypeError: Cannot read property 'language' of undefined
at Function.getJsonStringLocalization (stimulsoft.reports.js:56)
at E.renderHtml (stimulsoft.designer.js:29)