We have a RadDatePicker control on a DNN module. I'm logged in as a user with English as their locale, and all other Telerik controls on the module are localizing fine using meta:resourcekey="KeyName" (meaning they are picking up English text). The DatePicker control for some reason is picking up Spanish text. There is no resourcekey set on this control. Here is the control declaration:
So, I have two questions...
1.) Where are the localization files located for the RadDatePicker? We haven't provided any localized text for this and haven't set the resourcekey attribute, yet it's still picking this up somewhere.
2.) What method SHOULD we be using to localize the RadDatePicker?
<
telerik:RadDatePicker ID="EndDatePicker" runat="server" MinDate="" Calendar-ShowRowHeaders="false">
</telerik:RadDatePicker>
So, I have two questions...
1.) Where are the localization files located for the RadDatePicker? We haven't provided any localized text for this and haven't set the resourcekey attribute, yet it's still picking this up somewhere.
2.) What method SHOULD we be using to localize the RadDatePicker?
5 Answers, 1 is accepted
0
Accepted
Hi Travis,
Unfortunately it is not possible to localize the RadCalendar control through resx or xml files in the current version. There are several properties exposed, which allow you to customize the text for certain buttons - screenshot is attached. The picker would pick up the culture that is being specified for the page or in the web.config. If you want to explicitly alter the way dates are being parsed, you can use the DateFormat and DisplayDateFormat properties.
Regards,
Steve
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Unfortunately it is not possible to localize the RadCalendar control through resx or xml files in the current version. There are several properties exposed, which allow you to customize the text for certain buttons - screenshot is attached. The picker would pick up the culture that is being specified for the page or in the web.config. If you want to explicitly alter the way dates are being parsed, you can use the DateFormat and DisplayDateFormat properties.
Regards,
Steve
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
tjans
Top achievements
Rank 1
answered on 03 Jun 2008, 02:22 PM
We figured out the issue...thank you for your response...
0
-DJ-
Top achievements
Rank 1
answered on 01 Jul 2009, 06:19 PM
Hi guys,
This works:
<telerik:RadTimePicker TimeView-HeaderText="Tímaval"..... />
But this doesn't:
RadTimePicker1.TimeView.HeaderText = "Tímaval"
Why do you think that is?
Regards,
-DJ-
This works:
<telerik:RadTimePicker TimeView-HeaderText="Tímaval"..... />
But this doesn't:
RadTimePicker1.TimeView.HeaderText = "Tímaval"
Why do you think that is?
Regards,
-DJ-
0
Hello,
Attached to this message is a simple runnable application that demonstrates the needed approach. Please give it a try and let me know if it works for you or if I am leaving something out.
I hope this helps.
Regards,
Pavlina
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Attached to this message is a simple runnable application that demonstrates the needed approach. Please give it a try and let me know if it works for you or if I am leaving something out.
I hope this helps.
Regards,
Pavlina
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
-DJ-
Top achievements
Rank 1
answered on 03 Jul 2009, 12:54 PM
Hi Pavlina
Thanks for your help.
My mistake was that I was only setting the headertext if a postback hadn't occurred.
Regards,
-DJ-
Thanks for your help.
My mistake was that I was only setting the headertext if a postback hadn't occurred.
Regards,
-DJ-