Localizing the User Interface
Our sample projects and report templates can help you learn the basics of working with our products.The viewer and designer interface can be shown in different languages by loading localization files.
Loading a localization. Point
The localization files are ordinary XML files shipped with the product; you can enumerate the ones you ship and offer them to the user:
Any file can be edited or translated to fit your own wording, and calling
Loading a localization. Point
StiOptions.Localization.Load to the desired .xml file. The whole Stimulsoft interface switches to that language:StiOptions.Localization.Load(comboBoxLocalizations.Text);The localization files are ordinary XML files shipped with the product; you can enumerate the ones you ship and offer them to the user:
foreach (var fileName in Directory.GetFiles(@"Localization"))
{
comboBoxLocalizations.Items.Add(fileName);
if (fileName.EndsWith("en.xml"))
comboBoxLocalizations.SelectedItem = fileName;
}Any file can be edited or translated to fit your own wording, and calling
Load again at run time re-applies the chosen language immediately.