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

Show the scheduler in Danish

6 Answers 51 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 19 Mar 2015, 01:34 PM
I would like to force the scheduler to be shown in Danish, I have managed to get the Months, day names shown in Dansih (Javascript), but the other texts (Today, Show buisness hours, and others) on the site is still shown in English.
I have included the Kendo.Mvc.resources.dll for da-DK.

Thanks very much in advance :-)

6 Answers, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 20 Mar 2015, 09:45 AM
Hi Peter,

Currently the Danish resource file contains the original English Scheduler messages as there are no native Danish speakers on our side. For more information about how to modify the build-in resource files you can check the following help article:

Another option is to use the "Messages" option of the Scheduler as demonstrated below:

@(Html.Kendo().Scheduler<Kendo.Mvc.Examples.Models.Scheduler.TaskViewModel>()
    .Name("scheduler")
    .Messages(messages => messages.AllDay("hele dagen"))

Also it would be great if you send us back the updated resource file - we will include it in next official release of UI for ASP.NET MVC.

Regards,
Vladimir Iliev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Peter
Top achievements
Rank 1
answered on 20 Mar 2015, 01:48 PM
Hi Vladimir

Thanks very much for you answer :-)

Is it possible to translate "day, Work Week, week, ..."  with "messages" or something simular?

Thanks very much in advance.
0
Accepted
Vladimir Iliev
Telerik team
answered on 23 Mar 2015, 08:22 AM
Hi Peter,

If you need to change the titles of the views you can use the Scheduler Views builders as follows:

@(Html.Kendo().Scheduler<Kendo.Mvc.Examples.Models.Scheduler.TaskViewModel>()
    .Name("scheduler")
    .Views(views =>
    {
        views.DayView(day => day.Title("TEXT SIMMILAR TO DAY"));
        views.WorkWeekView(workWeekView => {
            workWeekView.Selected(true);
            workWeekView.Title("TEXT SIMMILAR TO WORK WEEK");

Regards,
Vladimir Iliev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Peter
Top achievements
Rank 1
answered on 24 Mar 2015, 09:36 AM
Hi Vladimir

Thanks very much for your help!

/Peter
0
Peter
Top achievements
Rank 1
answered on 29 Mar 2015, 01:28 PM
Hi Vladimir

I can't fin the content for the delete confirm box. I have found the title for the delete confirm box, but not the content. Isn't it possible to translate the content?

Thanks very much in advance.

/Peter
0
Accepted
Vladimir Iliev
Telerik team
answered on 30 Mar 2015, 06:03 AM
Hello Peter,

Please check the example below of how to translate the desired messages:

@(Html.Kendo().Scheduler<MeetingViewModel>()
    .Name("scheduler")
    .Messages(m => m
        .DeleteWindowTitle("DELETE WINDOW TITLE")
        .Destroy("CUSTOM DESTROY")
        .Cancel("CUSTOM CANCEL"))
    .Editable(editable => {
        editable
            .Confirmation("CUSTOM CONFITMATION MESSAGE");
    })

Regards,
Vladimir Iliev
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
General Discussions
Asked by
Peter
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Peter
Top achievements
Rank 1
Share this question
or