Telerik UI for Windows 8 HTML

RadDatePicker and RadTimePicker support automatic localization of their strings, using resource files. The setup is simple and this article describes the steps needed to provide localization for these two controls.

Localizing RadDatePicker and RadTimePicker

Following is the set of steps that you can follow:

  1. At the root level of you application, create a strings folder. It will host the localization resources.

  2. Create a separate folder for each language that you want to support and name it after the corresponding locale, e.g. fr-FR.

  3. Go to C:\Program Files (x86)\Telerik\UI for Windows 8 HTML QX 201X\strings\en and copy the raddatepicker.resjson and/or the radtimepicker.resjson files. Paste them in each language's folder.

    The correct folder structure should look like this:

  4. Translate the provided messages to the corresponding language and save the files.

Now, the controls will use the current culture of the application, which would be either the user default culture (if supported), the default culture provided in package.appxmanifest or the one that you have provided by overwriting the primary language of the application. For more information on the application's way of handling cultures, check the MSDN resource, linked at the end of this article.

See Also