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

[Solved] Proper Localisation for scheduler

3 Answers 128 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Markus
Top achievements
Rank 1
Markus asked on 10 Feb 2015, 02:41 PM
Hi

In your demo even when switching to Chinese the Scheduler still displays "Mon 6/10, Tue 6/11" in american formatting.

http://demos.telerik.com/kendo-ui/scheduler/localization

Bug? How can I also apply localisation to this?

Many thanks

3 Answers, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 12 Feb 2015, 09:39 AM
Hello Markus,

Date formatting is a matter of globalization which is different from localization. To change the date formatting you should set the corresponding culture as described in this help topic.

Regards,
Alexander Valchev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Markus
Top achievements
Rank 1
answered on 13 Feb 2015, 08:52 AM
Hi Alexander

Thank you for your reply. I did try this in an example: http://dojo.telerik.com/IPaXi

It changes the day names yes, so "Tu" is now "Di" (for "Dienstag" in German) but! the dates are still american where it says "Di 6/11" -> the month comes first.

In European cultures the date should be 11.6, 12.6, 13.6 (for 11th of June, 12th of June etc.)

Is this not properly implemented yet? If not how can I change it?

Thanks
0
Alexander Valchev
Telerik team
answered on 17 Feb 2015, 08:37 AM
Hi Markus,

I see that you refer to the dateHeader of the Scheduler. It uses custom format which can be changed via dateHeaderTemplate:
We use custom format because there is no pre-defined format for this in the Microsoft internalization files which we use to generate Kendo UI cultures. You may see what information the culture file contains here:

Regards,
Alexander Valchev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Markus
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Markus
Top achievements
Rank 1
Share this question
or