Skip to main content Skip to footer

How to Localize Scheduler Dialogs into Different Languages

When using the WPF C1Scheduler, developers often need to translate the user interface—including the Appointment Editor dialogs, menus, and internal strings—into a specific language. By default, these elements appear in English, and there is no single property to toggle between different cultures for every UI component.

Solution
To localize the C1Scheduler, you can use two primary methods depending on which part of the control you are modifying.

To translate the Appointment Dialogs, you must customize the EditAppointmentTemplate. This allows you to override the default XAML and provide your own localized labels. You can find a complete implementation of this in the CustomDialogs sample located in your ComponentOne installation folder under \WPF\v4.5.2\C1.WPF.Schedule\CS.

To translate the Scheduler surface and internal resources, add the corresponding .resx files for your target culture to your project. These resource files are located in the installation directory (typically C:\Program Files (x86)\ComponentOne\WPF Edition\...\Resources).

For a traditional approach to this, refer to the Localization sample (typically: C:\Users\User\Documents\ComponentOne Samples\WPF\v4.6.2\Schedule\CS\Localization).

Additionally, a new, streamlined approach is demonstrated in the General/CustomLocalization sample, which provides a more modern framework for implementing custom localization across the control.