Localization of days of the week and months

6 posts, 0 answers
  1. Peter
    Peter avatar
    24 posts
    Member since:
    Sep 2011

    Posted 16 Nov 2011 Link to this post

    hi,

    I'm using a scheduler in an MVC page, doing web services mode.

    I do have a issue with the localization.
    The locale of scheduler, bowser and page are all set to Dutch 
    My localized resources work fine
    The popup calendar for selecting a date is in Dutch
    The format of date and time follows my custom formats

    Nevertheless the names of the day of the week and the month names are still in English. How can I tame this detail ?

    Peter
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 17 Nov 2011 Link to this post

    Hi Peter,

    Localization for web services mode is done differently from server-side biding mode. Here is a help topic for reference - http://www.telerik.com/help/aspnet-ajax/scheduler-localization-web-services-mode.html. Any further localization than what is achieved by setting the Culture property can be done via the localization strings as explained in this help topic.

    Kind regards,
    Peter
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  3. Peter
    Peter avatar
    24 posts
    Member since:
    Sep 2011

    Posted 17 Nov 2011 Link to this post

    hi,

    I have done all that and it all works.
    Except for the names of the day of the week and the names of the months. These are not in the Telerik resources but are served by windows. And they are always in English.

    Peter
  4. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 22 Nov 2011 Link to this post

    Hi Peter,

    I wasn't able to replicate the problem locally - http://screencast.com/t/oBSBLO8g.

    Can you open a support ticket and send us a simple demo of the issue?


    Kind regards, Peter
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  5. Peter
    Peter avatar
    24 posts
    Member since:
    Sep 2011

    Posted 22 Nov 2011 Link to this post

    hi,

    thanks for the good screencast. It pin-pointed very well what I had overlooked.
    I had missed  the EnableScriptGlobalization property of the radscriptmanager.

    <telerik:RadScriptManager runat="server" EnableScriptGlobalization="true">


    Setting that did solve my problem. Simple as that :) Sloppy as that on my part :(
    The confusing part is they the drop down calendar does follow the locale without setting the property .
    Thanks a lot.


    Peter







  6. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 23 Nov 2011 Link to this post

    Hi Peter,

    I am glad to learn that you solved the problem. Indeed, such things get overlooked easily.

    All the best,
    Peter
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top