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

Localization of days of the week and months

5 Answers 113 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 16 Nov 2011, 09:07 AM
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

5 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 17 Nov 2011, 12:54 PM
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
0
Peter
Top achievements
Rank 1
answered on 17 Nov 2011, 07:42 PM
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
0
Peter
Telerik team
answered on 22 Nov 2011, 02:21 PM
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
0
Peter
Top achievements
Rank 1
answered on 22 Nov 2011, 04:13 PM
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







0
Peter
Telerik team
answered on 23 Nov 2011, 03:12 PM
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
Tags
Scheduler
Asked by
Peter
Top achievements
Rank 1
Answers by
Peter
Telerik team
Peter
Top achievements
Rank 1
Share this question
or