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
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" />
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
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
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
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
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
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?
For more information about how to localize the MVC wrappers you can check the following help article:
Regards,
Vladimir Iliev
Telerik
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
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
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
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
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:
<script src=
"http://cdn.kendostatic.com/2015.2.902/js/cultures/kendo.culture.sv-SE.min.js"
></script>
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
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
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
Please check the attached demo which shows how to achieve the desired behavior.
Regards,
Vladimir Iliev
Telerik
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?
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
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! :)
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
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.
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