Scheduler Components and Controls > Adding Localized Resources to a Project |
ComponentOne Scheduler for WPF and Silverlight projects can be localized. To add localized resources to your project:
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. |
<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.Silverlight.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. |
C1.Silverlight.resx |
Contains localizable strings for the C1MessageBox 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. |