Localizing the User Interface
Our sample projects and report templates can help you learn the basics of working with our products.The WPF viewer and designer interface can be shown in different languages by loading localization files.
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.
// point the engine to the chosen localization file
StiOptions.Localization.Load(fileName);
var report = new StiReport();
report.Load(@"Reports\SimpleList.mrt");
report.ShowWithWpf();StiOptions.Localization.Load applies the selected .xml file, switching the whole Stimulsoft interface to that language. The localization files ship with the product and can be edited or translated; calling Load again re-applies the language at run time.