This is a migrated thread and some comments may be shown as answers.

how to change Kendo grid pageable text(items) in Angular

1 Answer 112 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Chamal
Top achievements
Rank 1
Veteran
Chamal asked on 27 Sep 2020, 05:28 PM
I nee to add translate option for items word

1 Answer, 1 is accepted

Sort by
0
Martin Bechev
Telerik team
answered on 29 Sep 2020, 10:06 AM

Hello Aruna,

All Grid customizable/translatable texts can be customized as described in the following sections of our documentation:

https://www.telerik.com/kendo-angular-ui/components/grid/globalization/#toc-messages

https://www.telerik.com/kendo-angular-ui/components/globalization/localization/messages/

The most straightforward approach is to utilize the custom messages component, and bind the respective options to the desired output strings:

https://www.telerik.com/kendo-angular-ui/components/grid/api/CustomMessagesComponent/

For example:

https://stackblitz.com/edit/angular-cro7lp-pmq6iy?file=app/app.component.ts

The values, provided to each CustomMessages input property could be resulting from any expression, function call, pipe, etc., as long as the final result is the string to be displayed in the Grid.

I hope this helps.

Regards,
Martin
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
General Discussions
Asked by
Chamal
Top achievements
Rank 1
Veteran
Answers by
Martin Bechev
Telerik team
Share this question
or