Globalizing Reports
Our sample projects and report templates can help you learn the basics of working with our products.Globalization lets one report present its data in different cultures — number, date and currency formats follow the selected culture.
Localization setup. Load the requested culture or localization resource before the report interface and formatted values are produced.
Localization setup. Load the requested culture or localization resource before the report interface and formatted values are produced.
var report = new StiReport();
report.Load(stream); // GlobalizedSimpleList.mrt
report.GlobalizationManager = new GlobalizationManager(
"Globalizing_Reports.MyResources", new CultureInfo(cultureName));
report.RegData(dataSet1);
report.CalculationMode = StiCalculationMode.Interpretation;Assigning a GlobalizationManager with a CultureInfo makes the report format its content for that country, so a single template can serve many locales. Globalization affects the report data, unlike interface localization which affects the viewer.