Localized Exceptions.resx

2 posts, 0 answers
  1. Heiko
    Heiko avatar
    60 posts
    Member since:
    Nov 2018

    Posted 05 Sep 2019 Link to this post

    I noticed in one of my forms that suddenly a validation message appears for a dropdownlist. The message could not be found in kendo.messages.xx-XX.js nor was it a validation message from ASP.NET Core (I use my own, localized form of "Required" etc.attribute messages). I found the message inside the file "Exceptions.resx" in the source of Kendo MVC:

    <data name="ValueNotValidForProperty" xml:space="preserve">
      <value>The value '{0}' is invalid.</value>

    How can I translate this into another language?


  2. Nikolay
    Nikolay  avatar
    264 posts

    Posted 10 Sep 2019 Link to this post

    Hello Heiko,

    To change the provided localization messages, a custom version of Kendo.Mvc.dll must be built. This is required because Kendo.Mvc.dll is a strongly named assembly and its private key is not shipped as part of the Telerik UI for ASP.NET MVC distribution. Please follow the steps you will find at the link below to change the provided localization messages. For your custom implementation the changes will be applied to "Exceptions.resx".
    Please disregard that the above article describes the process for Kendo UI projects for ASP.NET MVC. Kendo UI for ASP.NET Core adopts the same process and so both are identical. 

    Hope this helps and please contact us back in case of further assistance.

    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top