Localization
The Pager provides options for defining the text of the tooltips for its page and navigation links, information text and labels.
To localize the messages, set the desired strings in the PagerMessagesSettingsBuilder
configurator.
The example below shows how to change the tooltip of the refresh button and the information message.
@(Html.Kendo().Pager()
.Name("Pager")
.Events(events => events
.Change("onChange")
)
.Messages(m=>{
m.Refresh("Refresh data");
m.Display("Showing {0}-{1} from {2} data items");
})
)
<kendo-pager name="Pager" on-change="onChange">
<messages refresh="Refresh data" display="Showing {0}-{1} from {2} data items" />
</kendo-pager>