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

Translation problem

5 Answers 125 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
Oliver
Top achievements
Rank 1
Oliver asked on 08 Jun 2012, 07:47 PM
Hi,

I.m using WPF and Telerik 2012.1.326.35 and I remark a translation problem with the RadDatePicker. All my environment is in french but when I manually enter a wrong date in the control, a tooltip appear in english with the word "Error".

How I can fix this???

Thank's

5 Answers, 1 is accepted

Sort by
0
Vladi
Telerik team
answered on 11 Jun 2012, 03:33 PM
Hello Oliver,

The problem you are having can be solved by adding in a custom error tooltip content in the language you desire. Here is a simple code that represents this:

<telerik:RadDateTimePicker
            ErrorTooltipContent="Your error message here"
            Culture="fr-FR"
            DateSelectionMode="Day"
            InputMode="DateTimePicker"
            >
</telerik:RadDateTimePicker>

I hope this helps. If you have any followup questions feel free to ask them.

Greetings,
Vlado
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Oliver
Top achievements
Rank 1
answered on 11 Jun 2012, 03:38 PM
Hi Vlado,

actually my application can run in english and in french, actually the mesage message is always in english. To support both language, I'm not sure to fully understand how to handle this?!?

Thank's
0
Vladi
Telerik team
answered on 12 Jun 2012, 11:33 AM
Hi Oliver,

I have prepared a simple project  that will help achieve your task.  It demonstrates how to use LocalizationManager to set the localization for RadDatePicker. You just need to add resx files to your project for the languages you want to use.

At the following link you can find more information about the localization specifics of our controls:
Localization for RadControls

Kind regards,
Vlado
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Oliver
Top achievements
Rank 1
answered on 12 Jun 2012, 12:57 PM
Hi Vlado,

there is no existing resource key for this value?

Thank's
0
Vladi
Telerik team
answered on 12 Jun 2012, 02:41 PM
Hello Oliver,

There is a resource key for that value but it hasn't been localized on our side yet.  Anyway, this is already fixed and the fix will be available in the next internal build.

All the best,
Vlado
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
DatePicker
Asked by
Oliver
Top achievements
Rank 1
Answers by
Vladi
Telerik team
Oliver
Top achievements
Rank 1
Share this question
or