Localization in WPF Scheduler (SfScheduler)

27 Jan 20232 minutes to read

Localization is the process of customizing the user interface, based on a culture specific to a particular country or region in order to display the regional data. The culture is represented by a unique string, for example, ―en-US β€– for U.S. English and ― fr-FR β€– for French (common).

Localization is the key feature that provides solutions to global customers with the help of localized resource files provided by the control. The Scheduler supports localization, and creates a resource file for any culture to be applied in the scheduler.

Set Current UI Culture to the Application

Application culture can be changed by setting CurrentUICulture.

public MainWindow()
    System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("fr-FR");

Localization using Resource file

To localize the Scheduler based on CurrentUICulture using resource files, follow the below steps.

  1. Create new folder, named as Resources in the application.

  2. Add the default resource file of Scheduler into Resources folder.


View Syncfusion.SfScheduler.WPF.resx in GitHub

Addition of default resource file of WPF Scheduler into Resources folder

  1. Right-click on the Resources folder, select Add and then NewItem.

  2. In Add New Item wizard, select the Resource File option and name the filename as Syncfusion.SfScheduler.WPF.<culture name>.resx. For example, give the name as Syncfusion.SfScheduler.WPF.de.resx for German culture.

  3. The culture name that indicates the name of language and country.

Shows the name of resource file to be added for WPF Scheduler

  1. Now, select Add option to add the resource file in Resources folder.

Shows the added resource file for French language in WPF Scheduler

  1. Add the Name/Value pair in Resource Designer of Syncfusion.SfScheduler.WPF.fr-FR.resx file and change its corresponding value to corresponding culture.

Shows the added resource file name / value pair in the resource designer in WPF Scheduler

Shows the localized strings in French for WPF Scheduler


View sample in GitHub. You can refer to our WPF Scheduler feature tour page for its groundbreaking feature representations.