having a grid, with a search panel, the text in the search panel "Search..." is not translated, but another toolbars are translated
.ToolBar(
toolbar => {
toolbar.Create(); // translated to french
toolbar.Save(); // translated to french
toolbar.Excel(); // translated to french
toolbar.Search().Text("Recherche..."); // NOT translated to french
}
)
I should hardcode translation, but shouldn't it be already translated in JS localization files?
Please add this to translation files :
$(function () {
/* Grid messages */
if (kendo.ui.Grid) {
kendo.ui.Grid.prototype.options.messages =
$.extend(true, kendo.ui.Grid.prototype.options.messages, {
commands: { search: "Rechercher..." }
});
};
});