language only partially works in danish

2 posts, 0 answers
  1. Peter Terkildsen
    Peter Terkildsen avatar
    16 posts
    Member since:
    Mar 2010

    Posted 29 Apr 2015 Link to this post

    I have a problem changing the words ”Week”, ”Month”, ”Today”, ”All day” and “Show business hours” to danish in my scheduler. A part from that, the translation works very well.

    I get the following console errors, when I load the kendo.messages.da-DK.min.js:

    :9 Uncaught TypeError: Cannot read property 'FilterCell' of undefined

    Furthermore I get the following error, when I load the kendo.timezones.min.js:

    :9 Uncaught TypeError: Cannot set property 'zones' of undefined

    I’m using the following code ripped from one of your examples:

    $("#scheduler").kendoScheduler({
              date: Date.now(),
              views: [
               "week", // a view configuration can be a string (the view type) or an object (the view configuration)
               { type: "week", selected: true }, // the "week" view will appear as initially selected
               "month"
              ],
              timezone: "Etc/UTC",
              dataSource: content,
              editable: false,
              currentTimeMarker: false,
          });

    Please advise me to change the word stated above as well as correct the console errors.
  2. Bozhidar
    Admin
    Bozhidar avatar
    1189 posts

    Posted 01 May 2015 Link to this post

    Hi,

    You have to make sure that you puth both scripts after the kendo.all.min.js script. Here's a dojo sample demonstrating the proper setup:
    http://dojo.telerik.com/AjIxu/2

    Regards,
    Bozhidar
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top