This is a migrated thread and some comments may be shown as answers.

[Solved] German Translation missing

2 Answers 111 Views
DatePicker for XAML
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
schneeflocke
Top achievements
Rank 1
schneeflocke asked on 09 Sep 2012, 06:35 PM
In a german environment the control is not fully localized to german.
Attached you can find an image with the translation I'm missing.

The correct translation should be:
Select Date -> Datum auswählen
Leap Year -> Schaltjahr

and of course the button "Cancel" -> "Abbrechen".


2 Answers, 1 is accepted

Sort by
0
Accepted
Ivaylo Gergov
Telerik team
answered on 13 Sep 2012, 09:00 AM
Hi Stefan,

Thank you for your feedback.

Currently, our controls does not provide built-in resources for localization (the localized month names comes directly from the framework). Nevertheless, we appreciate the suggestions and will take them in mind when we add built-in resources.

Using our RC version (available in the next 1-2 days)  you can localize RadDatePicker using LocalizationManager class. For the described scenario you can follow these steps:
  1. Create new resource file
  2. Set a key in the field - Name, and corresponding value in the field - Value ( the key for Select Date is DateSelectorHeader and for Leap Year is LeapYear)
  3. Add the following namespace in the code behind  : Windows.ApplicationModel.Resources.Core
  4. Assign the resource using LocalizationManager class :
InputLocalizationManager.Instance.UserResourceMap = ResourceManager.Current.MainResourceMap.GetSubtree("NewResourceFile");


P.S. I have updated you telerik points
 
All the best,
Ivaylo Gergov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
schneeflocke
Top achievements
Rank 1
answered on 13 Sep 2012, 10:47 AM
Hi,

many thanks, I will try it once the RC is available.

Thanks

Stefan
Tags
DatePicker for XAML
Asked by
schneeflocke
Top achievements
Rank 1
Answers by
Ivaylo Gergov
Telerik team
schneeflocke
Top achievements
Rank 1
Share this question
or