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

RadDatePicker: month names in different languages

5 Answers 325 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Mark Okuns
Top achievements
Rank 1
Mark Okuns asked on 09 Aug 2011, 03:09 PM
I have one application deployed on two servers. If I start the application from the first server, then I see month names in English, and if I start the same application from the another server, then I see month names in German. What settings and where should I configure to see Month in a specific language?

5 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 10 Aug 2011, 07:05 AM
Hello Mark,

Try setting the Culture to see months in a specific language.
aspx:
<telerik:RadDateTimePicker ID="RadDateTimePicker1" Culture="en-US" runat="server">
</telerik:RadDateTimePicker>
For further information you can check the following documentation
Specifying a Culture.

Thanks,
Shinu.
0
Mark Okuns
Top achievements
Rank 1
answered on 10 Aug 2011, 07:48 AM
Hello Shinu,

Thanks for the reply. My issue is that my application is deployed in many countries on different servers with different country settings and I would like to know what setting (IE configuration, my client, on the server, etc.) is responsible for displaying of RadDatePicker values (in my case Months, probably date format as well) in a specific language. Because as I mentioned in my first post: if I start my application from one server, I see months in English and from other server in German. I have no code in my application to set Culture of the RadDatePicker.
0
Sebastian
Telerik team
answered on 10 Aug 2011, 08:26 AM
Hi Mark,

As Shinu explained, using the Culture property of the date picker should force him to display month names, date format, etc. in par with a specific culture. Otherwise the calendar popup will be localized in conjunction with the CurrentUICulture setting (English, German, or other language on the client machine).
 
Best regards,
Sebastian
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Mark Okuns
Top achievements
Rank 1
answered on 10 Aug 2011, 08:43 AM
Hi Sebastian,

Thanks for the reply. I see that I have to modify my code to set culture dynamically depending on client setting (is it correct? Do not you have an example of it in JScript or in C# ?). But I still have an understanding problem: you wrote that it depends on client settings but I start two applications from one client (my PC with IE8) and I see values in my RadDatePicker in different languages.

Thanks for your help.

Regards,
Mark
0
Sebastian
Telerik team
answered on 10 Aug 2011, 08:57 AM
Hello Mark,

Please refer to the explanation from my previous post as well as the culture configurator on this demo and the help topic Shinu pointed out in his response.

Regards,
Sebastian
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Calendar
Asked by
Mark Okuns
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Mark Okuns
Top achievements
Rank 1
Sebastian
Telerik team
Share this question
or