Option 1 - Custom Resource File
You can inject your own messages into the Kendo widgets. If your resources are named Resources.resx you can set the localization messages like this:
$("#grid").kendoGrid( {
filterable: {
messages: {
info: "@Resources.FilterInfo",
filter: "@Resources.Filter"
}
}
});
You can only do this in your razor files.
Option 2 - Messages File
You can use the messages files to automatically localize your Kendo UI, as shown here.
If the CurrentUICulture is set (from code or web.config) Telerik UI for ASP.NET MVC will use localized user interface messages.
Telerik UI for ASP.NET MVC comes with localized messages for the following cultures:
- bg-BG - Bulgarian (Bulgaria)
- da-DK - Danish (Denmark)
- de-DE - German (Germany)
- es-ES - Spanish (Spain)
- en-US - English (US)
- fr-FR - French (French)
- nl-NL - Dutch (Netherlands)
- pl-PL - Polish (Poland)
- pt-BR - Portuguese (Brazil)
- pt-PT - Portuguese (Portugal)
- ro-RO - Romanian (Romania)
- ru-RU - Russian (Russia)
- sv-SE - Swedish (Sweden)
- uk-UA - Ukrainian (Ukraine)
- zh-CN - Chinese (PRC)
If the CurrentUICulture is not supported the default "en-US" will be used.
In this case you can create your own messages file and reference it in your code, as shown here.