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

How and when globalize.js can be used by Kendo UI?

1 Answer 98 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Anton
Top achievements
Rank 1
Anton asked on 10 Aug 2013, 09:21 AM
I include globalize.js and globalize.culture.xx-XX.js befor Kendo UI scripts. Then I try execute "Globalize.culture("xx-XX")" and "kendo.culture("xx-XX")" in all possible combinations. From http://docs.kendoui.com/getting-started/framework/globalization/overview: "When globalize.js is registered before Kendo scripts, then Kendo will use globalize.js features instead of Kendo Globalization."

What does it mean? Does it mean for example that I can miss kendo.culture.xx-XX.js and DatePicker will still show localized months and week days? I try - it does not. So when, where and how Kendo UI uses globalize.js? 

1 Answer, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 14 Aug 2013, 06:46 AM
Hi,

Kendo UI utilizes Globalize for number and date formatting. However, you still need to include the kendo.culture.xx-XX.js and call kendo.culture in order for the widget month/day names to be displayed in the current culture. 

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