Hello
We use Telerik UI to ASP.NET Core to build the Razor Page app.
After connecting Hebrew Localization
<script src="~/kendo/js/jquery.min.js" asp-append-version="true"></script>
<script src="~/kendo/js/kendo.all.min.js" asp-append-version="true"></script>
<script src="~/kendo/js/kendo.aspnetmvc.min.js" asp-append-version="true"></script>
<script src="~/kendo/js/kendo.culture.he-IL.min.js" asp-append-version="true"></script>
<script src="~/kendo/js/kendo.messages.he-IL.min.js" asp-append-version="true"></script>
<script src="~/kendo/js/jszip.min.js" asp-append-version="true"></script>
<script>kendo.culture("he-IL");</script>
We get the following picture
The script file kendo.messages.he-il.js contains the following overrides
/* Grid messages */
if (kendo.ui.Grid) {
kendo.ui.Grid.prototype.options.messages =
$.extend(true, kendo.ui.Grid.prototype.options.messages, {
"commands": {
"cancel": "בטל",
"canceledit": "בטל עריכה",
"create": "צור חדש",
"destroy": "מחק",
"edit": "עריכה",
"save": "שמור",
"select": "בחר",
"update": "עדכן"
},
"editable": {
"cancelDelete": "בטל מחיקה",
"confirmation": "האם הנך בטוח שברונך לבצע זאת?",
"confirmDelete": "אשר מחיקה"
}
});
}
/* Pager messages */
if (kendo.ui.Pager) {
kendo.ui.Pager.prototype.options.messages =
$.extend(true, kendo.ui.Pager.prototype.options.messages, {
"allPages": "All",
"page": "עמוד",
"display": "{0} - {1} מתוך {2} פריטים",
"of": "מתוך {0}",
"empty": "אין פריטים להצגה",
"refresh": "רענן",
"first": "לעמוד הראשון",
"itemsPerPage": "פריטים בעמוד",
"last": "לעמוד האחרון",
"next": "לעמוד הבא",
"previous": "לעמוד הקודם",
"morePages": "עמודים נוספים"
});
}
What we need to do to get localization at least within what is in the script?
Best regards