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

language only partially works in danish

1 Answer 56 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Peter Terkildsen
Top achievements
Rank 1
Peter Terkildsen asked on 29 Apr 2015, 12:02 PM
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.

1 Answer, 1 is accepted

Sort by
0
Bozhidar
Telerik team
answered on 01 May 2015, 12:27 PM
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!
 
Tags
Scheduler
Asked by
Peter Terkildsen
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Share this question
or