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

Localize scheduler view, messages and popup window texts

23 Answers 384 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Anamika
Top achievements
Rank 1
Anamika asked on 08 Jul 2014, 01:55 PM
Hello,

I am using kendo.culture("de-DE") but Looks like Work Week is still in english. When the Editor Pop up Windows Comes up and i try to edit/add recurring Event , the controls are all messed up and text overlapped by control.

is there a way to localize in mvc razor like this JSbin sample
http://jsbin.com/edajuh/1/edit

Thanks

Anamika

23 Answers, 1 is accepted

Sort by
0
Anamika
Top achievements
Rank 1
answered on 10 Jul 2014, 07:20 AM
attached customeditor window screenshot. I am using customeditor template from code library Project, but mine Comes messed up.
http://www.telerik.com/support/code-library/custom-editor-9fd60fca3c02
I am pointing to
<link href="@Url.Content("~/Content/kendo/2014.1.318/kendo.common.min.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/kendo/2014.1.318/kendo.rtl.min.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/kendo/2014.1.318/kendo.default.min.css")" rel="stylesheet" type="text/css" />
0
Vladimir Iliev
Telerik team
answered on 10 Jul 2014, 03:08 PM
Hi Anamika,

Please check the answers of your questions below:

1) is there a way to localize in mvc razor like this jsBin sample - For more information about how to update the localization messages you can check the following help article:

Also we will update the "Work Week" view title in next Telerik UI for ASP.NET MVC internal builds.

2)  Attached customeditor window screenshot. I am using customeditor template from code library Project, but mine Comes messed up. - I tried to reproduce the problem locally but to no avail – everything is working as expected on our side when the "RTL" is enabled . Could you please make sure that all steps from the following help article are applied to the project?

Kind Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Anamika
Top achievements
Rank 1
answered on 14 Jul 2014, 06:23 AM
Hello Vladimir,

Thank you so much for getting back to me. For "Work Week" fix i will wait for internal build. please let me know what i Need to download and copy to Project Folder.

Coming to localize Messages i do not Need to Change in Kendo.Mvc dll and use the dll rather i would like to do something dynamic inside my Project view file like the jsbin project

http://jsbin.com/edajuh/1/edit
Can we do something similar in mvc view?

Thanks

Anamika
0
Vladimir Iliev
Telerik team
answered on 16 Jul 2014, 05:48 AM
Hi Anamika,

The updated "Work Week" view title will be available with Telerik UI for ASP.NET MVC 2014 Q2 release, expected to be released to the end of the week.

Also if you need to translate the messages using the Scheduler wrapper than you can check the following option:

Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Anamika
Top achievements
Rank 1
answered on 22 Jul 2014, 02:05 PM
Hello

I would like to know if WorkWeek fix is available now. shall i just download the July 16th release and use the Kendo.mvc.dll? Please let me know where shall i download and what should i Change.

Thanks

Anamika
0
Anamika
Top achievements
Rank 1
answered on 23 Jul 2014, 06:15 AM
Hello,

I did install ASP .NET MVC 2014 Q2 release and now the Scheduler localization is worse. Noe even if the culture is de-DE Day, Week, Work Week. Month, Show Business hours, Today and many other Messages are in english. Where as before updating i had only Work Week in english.

I copied all js files and style files adn referenced new Kendo.mvc.dll. But definitely ist more Buggy this time and in german culture texts are in english.

Please suggest what to do

Anamika
0
Anamika
Top achievements
Rank 1
answered on 23 Jul 2014, 06:32 AM
Ok Looks like i had not coiped new Kendo.Mvc.resources.dll and after copied ist fine
0
Stanislaw
Top achievements
Rank 1
answered on 16 Oct 2015, 08:35 PM

Ok so its October 2015 Im currently using trial version of Kendo UI and its in version 2015.3.930.545 and still can't change "Day, Week, Work Week. Month, Show Business hours" etc to other language by simple code:
<script> kendo.culture("pl-PL");</script>
Im doing research about frameworks like Kendo Scheduler or similar and my client requires Polish language in scheduler and in other modules. 

Is there a solution for this inconvenience?

0
Vladimir Iliev
Telerik team
answered on 20 Oct 2015, 11:14 AM
Hello Stanislaw,

For more information about how to localize the MVC wrappers you can check the following help article:

Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Stanislaw
Top achievements
Rank 1
answered on 21 Oct 2015, 09:16 AM

Vladimir, thank you for answer.

On web for which url you gave me is written 
"Telerik UI for ASP.NET MVC comes with localized messages for the following cultures: (...) pl-PL - Polish (Poland) (...)"

Is that mean if the CurrentUICulture is set in my app, that bar "day, week, month, work week" should be in polish? Or thats mean that in Messages.pl-PL.resx this texts are written in english? I can't look to Messages.pl-PL.resx because \src directory is available only with the commercial version of Telerik and I'm using trial version.

Regards,

Stanislaw

 

0
Vladimir Iliev
Telerik team
answered on 23 Oct 2015, 04:56 AM
Hello Stanislaw,

Yes, when you complete the steps in the linked help article the messages from the corresponding resource file should be applied. I just checked the "pl-PL" culture and it seems that the Scheduler messages are still not translated. That why I included the resource file to the current thread - if you can translate them (as we have no native speakers for this culture in our side) I will be happy to include them in next internal build and send it back to you. 

Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Stanislaw
Top achievements
Rank 1
answered on 26 Oct 2015, 08:54 AM

Hello Vladimir,

Did you deliberately put class file (Messages.pl-PL.Designer.cs) with zero length or it's a zip bug?

Anyway, I am sending you a zip with file Messages.pl-PL.resx entirely translated into Polish.

 

Regards,

Stanislaw

0
Vladimir Iliev
Telerik team
answered on 27 Oct 2015, 09:16 AM
Hello Stanislaw,

Thank you for the provided translation file - it's now included on our side and you can open a new support ticket and request the latest internal build (as providing it inside forum post is restricted). 

Also as small sign of appreciation I updated your telerik points. 

Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Jonas
Top achievements
Rank 1
answered on 19 Nov 2015, 12:34 PM

Hello

I'm also having some trouble to get the messages shown in swedish (sv-SE). the time and dates display correctly but as for Stanislaw, the day, week, work week, today and so on still shows in english.

I have included the right javascript culture file:

And I'm setting the current culture:

<script type="text/javascript">
            //set current to the "sv-SE" culture script
            kendo.culture("sv-SE");
        </script>

I have added this to my web.config in the system.web section:

<globalization uiCulture="sv-SE" culture="sv-SE"></globalization>

Is there something else I need to do to get it working?

/Jonas

0
Vladimir Iliev
Telerik team
answered on 20 Nov 2015, 09:36 AM
Hello,

Basically it depends on if you are using Kendo UI widgets or their UI for ASP.NET MVC wrappers. Please check the related documentation below:

Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Jonas
Top achievements
Rank 1
answered on 20 Nov 2015, 09:44 AM

Hello

I'm using UI for ASP.NET MVC wrappers, sorry for not mentioning.

I have looked at the page you are linking to and followed the instructions as you can see from my code snippets, but it's not working for the schedulers messages buttons and titles, like "today", "work week", "week" and so on....

Besides linking the javascript file, setting the culture and andding the globalization to web.config is there something else I need to do?

/Jonas

0
Vladimir Iliev
Telerik team
answered on 20 Nov 2015, 11:47 AM
Hi Jonas,

Please check the attached demo which shows how to achieve the desired behavior.

Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Marie Cécile
Top achievements
Rank 2
answered on 11 Jul 2016, 08:44 AM

Hi,

I'm using kendo.culture("fr-FR") and everything seems to be ok, but it looks like "Work Week" button is still in english.

Here's a screenshot of the problem.

Could you help me please?

0
Vladimir Iliev
Telerik team
answered on 12 Jul 2016, 07:08 AM
Hello Anamika,

I tried to reproduce the issue on our side but to no avail - everything is working as expected as seen in the following demo:

Could you please modify the above demo in order to reproduce it and send it back to us?

Regards,
Vladimir Iliev
Telerik by Progress
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
0
Marie Cécile
Top achievements
Rank 2
answered on 13 Jul 2016, 03:25 PM

Hi Vladimir,

I can't modify your script because avec working on an ASP.NET MVC project. 

But I can modify your Kendo.mvc.Examples project and view the same problem.

I change 2 things into : "\Kendo.Mvc.Examples\Areas\razor\Views\scheduler\globalization.cshtml":

- add french culture with this line : ln 19 

.BindTo(new[] { "en-US", "de-DE", "bg-BG", "it-IT", "fr-FR" })

- add "work week" button with this lines : ln 33 

.WorkWeekEnd(6)
    .Views(views =>
    {
        views.DayView();
        views.WeekView(weekView => weekView.Selected(false));
        views.WorkWeekView(view => view.Selected(true));
        views.WorkWeekView(view => view.ShowWorkHours(true));
        views.MonthView();
        views.AgendaView();
    })

Run Globalization.cshtml and see what I mean! :)



0
Vladimir Iliev
Telerik team
answered on 14 Jul 2016, 09:42 AM
Hi Marie,

Thank you for the last clarification - after I was able to pinpoint the missing translation in the MVC resource files. I logged the issue in our GitHub repository (where you can track it) and the fix will be available in next internal builds. Until the fix is available you can manually update the translation on your side in the source code that comes with your UI for ASP.NET MVC installation. For more information on the matter you can check the following help article:

As small sign of appreciation I updated your telerik points. 

Regards,
Vladimir Iliev
Telerik by Progress
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
0
Marie Cécile
Top achievements
Rank 2
answered on 15 Jul 2016, 07:00 AM

Hi Vladimir,

thanks for your reply.

Unfortunatly, "Step 1 Open the \src\Kendo.Mvc\Kendo.Mvc.csproj Visual Studio project. The \src directory is available only with the commercial version of Telerik UI for ASP.NET MVC." and I'm currently using trial one.

Regards,

Marie Cécile.

 

0
Vladimir Iliev
Telerik team
answered on 15 Jul 2016, 07:44 AM
Hello Marie,

You can open a new support ticket and I will be happy to provide you with the updated translations when they are available. 

Regards,
Vladimir Iliev
Telerik by Progress
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
Tags
Scheduler
Asked by
Anamika
Top achievements
Rank 1
Answers by
Anamika
Top achievements
Rank 1
Vladimir Iliev
Telerik team
Stanislaw
Top achievements
Rank 1
Jonas
Top achievements
Rank 1
Marie Cécile
Top achievements
Rank 2
Share this question
or