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

2 posts, 0 answers
  1. Anton
    Anton avatar
    8 posts
    Member since:
    Aug 2013

    Posted 10 Aug 2013 Link to this post

    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? 
  2. Petyo
    Admin
    Petyo avatar
    2444 posts

    Posted 14 Aug 2013 Link to this post

    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!
Back to Top