This sample project demonstrates how to localize the user interface. First of all, use StiOptions.Localization.Load() method to load localization file:
private void LoadLocalization()
{
	var fileName = (string)((Label)ComboBoxLocalizations.SelectedItem).Content;
	StiOptions.Localization.Load(fileName);
}

...

Then, use LoadLocalization() method to localize the user interface:
...

private void ButtonShow_Click(object sender, RoutedEventArgs e)
{
	LoadLocalization();

	var report = new StiReport();
	report.Load(@"Reports\SimpleList.mrt");
	report.ShowWithWpf();
}

private void ButtonDesign_Click(object sender, RoutedEventArgs e)
{
	LoadLocalization();

	var report = new StiReport();
	report.Load(@"Reports\SimpleList.mrt");
	report.DesignV2WithWpf();
}

In the screenshot below you can see the result of the sample code:

Localizing the User Interface

By using this website, you agree to the use of cookies for analytics and personalized content. Cookies store useful information on your computer to help us improve efficiency and usability. For more information, please read the privacy policy and cookie policy.