Localize scheduler view, messages and popup window texts

24 posts, 0 answers
  1. Anamika
    Anamika avatar
    124 posts
    Member since:
    Mar 2014

    Posted 08 Jul 2014 Link to this post

    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
  2. Anamika
    Anamika avatar
    124 posts
    Member since:
    Mar 2014

    Posted 10 Jul 2014 in reply to Anamika Link to this post

    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" />
  3. Kendo UI is VS 2017 Ready
  4. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 10 Jul 2014 Link to this post

    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!
     
  5. Anamika
    Anamika avatar
    124 posts
    Member since:
    Mar 2014

    Posted 14 Jul 2014 in reply to Vladimir Iliev Link to this post

    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
  6. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 16 Jul 2014 Link to this post

    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!
     
  7. Anamika
    Anamika avatar
    124 posts
    Member since:
    Mar 2014

    Posted 22 Jul 2014 in reply to Vladimir Iliev Link to this post

    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
  8. Anamika
    Anamika avatar
    124 posts
    Member since:
    Mar 2014

    Posted 23 Jul 2014 in reply to Anamika Link to this post

    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
  9. Anamika
    Anamika avatar
    124 posts
    Member since:
    Mar 2014

    Posted 23 Jul 2014 in reply to Anamika Link to this post

    Ok Looks like i had not coiped new Kendo.Mvc.resources.dll and after copied ist fine
  10. Stanislaw
    Stanislaw avatar
    3 posts
    Member since:
    Sep 2015

    Posted 16 Oct 2015 Link to this post

    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?

  11. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 20 Oct 2015 Link to this post

    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!
     
  12. Stanislaw
    Stanislaw avatar
    3 posts
    Member since:
    Sep 2015

    Posted 21 Oct 2015 in reply to Vladimir Iliev Link to this post

    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

     

  13. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 22 Oct 2015 Link to this post

    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!
     
  14. Stanislaw
    Stanislaw avatar
    3 posts
    Member since:
    Sep 2015

    Posted 26 Oct 2015 in reply to Vladimir Iliev Link to this post

    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

  15. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 27 Oct 2015 Link to this post

    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!
     
  16. Jonas
    Jonas avatar
    39 posts
    Member since:
    Oct 2014

    Posted 19 Nov 2015 Link to this post

    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

  17. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 20 Nov 2015 Link to this post

    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!
     
  18. Jonas
    Jonas avatar
    39 posts
    Member since:
    Oct 2014

    Posted 20 Nov 2015 in reply to Vladimir Iliev Link to this post

    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

  19. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 20 Nov 2015 Link to this post

    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!
     
  20. Marie Cécile
    Marie Cécile avatar
    3 posts
    Member since:
    Jun 2016

    Posted 11 Jul Link to this post

    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?

  21. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 12 Jul Link to this post

    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.
     
  22. Marie Cécile
    Marie Cécile avatar
    3 posts
    Member since:
    Jun 2016

    Posted 13 Jul in reply to Vladimir Iliev Link to this post

    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! :)



  23. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 14 Jul Link to this post

    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.
     
  24. Marie Cécile
    Marie Cécile avatar
    3 posts
    Member since:
    Jun 2016

    Posted 15 Jul in reply to Vladimir Iliev Link to this post

    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.

     

  25. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 15 Jul Link to this post

    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.
     
Back to Top
Kendo UI is VS 2017 Ready