Missing Localization (German) - MVC

5 posts, 1 answers
  1. Daniel
    Daniel avatar
    12 posts
    Member since:
    Nov 2019

    Posted 24 Apr Link to this post

    Found a similar question here: https://www.telerik.com/forums/datarangepicker-label-localization

     

    So I know, this element is new to Kendo UI and the localization files aren't completed. The difference to the post is, I'm using MVC. Is it possible to modify the missing localization values through razor? Or directly change the "Start" and "End" messages?

    If not, how can I implement the solution in the other thread? Or are there other solutions?

     

    Before someone is asking. The localization for other elements works properly:

    <script src="https://kendo.cdn.telerik.com/2020.1.219/js/cultures/kendo.culture.de-DE.min.js"></script>
    <script src="https://kendo.cdn.telerik.com/2020.1.219/js/messages/kendo.messages.de-DE.min.js"></script>

  2. Daniel
    Daniel avatar
    12 posts
    Member since:
    Nov 2019

    Posted 24 Apr in reply to Daniel Link to this post

    It's about these labels.
  3. Answer
    Nikolay
    Admin
    Nikolay  avatar
    222 posts

    Posted 28 Apr Link to this post

    Hi Daniel,

    Thank you for the good question.

    The Start and End tex for the DateRangePicker labels can be customized via the DateRangePicker Messages configuration. For example:

    @(Html.Kendo().DateRangePicker()
             .Name("daterangepicker")
             .Messages(m => m.StartLabel("Starten").EndLabel("Ende"))
    )

    Let me know if you have any further questions.

    Regards,
    Nikolay
    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
  4. Daniel
    Daniel avatar
    12 posts
    Member since:
    Nov 2019

    Posted 28 Apr in reply to Nikolay Link to this post

    Hi Nikolay,

    that seems super easy and it worked perfectly. Thank you!

  5. Nikolay
    Admin
    Nikolay  avatar
    222 posts

    Posted 30 Apr Link to this post

    Hello Daniel,

    I am glad to hear this is helping you move forward. 

    Please let us know if anything new arises.

    Regards,
    Nikolay
    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
Back to Top