Scheduler for WPF | ComponentOne
Customize Scheduler / Add Localized Resources to a Project
In This Topic
    Add Localized Resources to a Project
    In This Topic

    Scheduler projects can be localized. To add localized resources to your project:

    1. Create a copy of the .resx files included with Scheduler for WPF. These resource files are installed in C:\Program Files (x86)\ComponentOne\WPF Edition\C1WPFSchedule.x.x.x\Resources by default.
    2. Rename the copied resource files using the following file naming convention:
        base_filename[.optional RFC 1766 culture info string].resx
      

      For example:

      TimeStrings.de.resx

      TimeStrings.fr.resx

      Note: Do not change the base_filename part of the file name or the controls will not be able to find your resources.
    3. Translate the string values within the resource files.
    4. Add the localized resources to your project /Resources folder. Open the .csproj file in the text editor and add your culture to the list of supported cultures:

      <SupportedCultures>de;fr </SupportedCultures>.

    After rebuilding your project, satellite assemblies will be added into the resulting .xap file.

    The following resource files are used in the C1.WPF.Schedule assembly:

    Resource File

    Description

    C1.Schedule.Categories.resx

    Contains localizable names for default appointment categories.

    C1.Schedule.EditAppointment.resx

    Contains localizable strings for default EditAppointmentTemplate.

    C1.Schedule.EditRecurrence.resx

    Contains localizable strings for default EditRecurrenceTemplate.

    C1.Schedule.Exceptions.resx

    Contains localizable error messages which might be shown to end user.

    C1.Schedule.Labels.resx

    Contains localizable names for default appointment labels.

    C1.Schedule.MiscStrings.resx

    Contains localizable strings used for describing recurrence pattern.

    C1.Schedule.RecChoice.resx

    Contains localizable strings for Open/Remove recurrence dialogs.

    C1.Schedule.SelectFromListScene.resx

    Contains localizable strings for SelectFromListScene control.

    C1.Schedule.ShowReminders.resx

    Contains localizable strings for default ShowRemindersTemplate.

    C1.Schedule.Statuses.resx

    Contains localizable names for default availability statuses.

    C1.Schedule.TimeStrings.resx

    Contains localizable strings for the C1TimeSpanPicker control.

    Note: You can localize only the part of these files. For example, if you use customEditAppointmentTemplate, you do not need resources from the C1.Schedule.EditAppointment.resx.