RadDatePicker: month names in different languages

6 posts, 0 answers
  1. Mark Okuns
    Mark Okuns avatar
    3 posts
    Member since:
    May 2010

    Posted 09 Aug 2011 Link to this post

    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?
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 10 Aug 2011 Link to this post

    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.
  3. Mark Okuns
    Mark Okuns avatar
    3 posts
    Member since:
    May 2010

    Posted 10 Aug 2011 Link to this post

    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.
  4. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 10 Aug 2011 Link to this post

    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.

  5. Mark Okuns
    Mark Okuns avatar
    3 posts
    Member since:
    May 2010

    Posted 10 Aug 2011 Link to this post

    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
  6. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 10 Aug 2011 Link to this post

    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.

Back to Top