Master/Detail Grid - Localization for Expand & Collapse Button

1 Answer 244 Views
Grid Localization
WenatexIT
Top achievements
Rank 1
WenatexIT asked on 26 Aug 2021, 08:58 AM

Hello

 

I have a Master/Detail grid and when hovering above the + (Expand) or - (Collapse) the info "Expand Details" / "Collapse Details" appears

 

But I can't find corresponding properties to translate those in the kendo-angular-messages project - in the grid section

 

Commonly I translate "noRecords" which works fine and can be found in the project

 

How can I translate those messages?

 

best regards

1 Answer, 1 is accepted

Sort by
0
Hetali
Telerik team
answered on 26 Aug 2021, 09:34 PM

Hi Michael,

To translate the title of the Expand and the Collapse icon in the Kendo UI Master-Detail Grid, use the CustomMessagesComponent and modify the detailExpand and the detailCollapse value. For example:

<kendo-grid [data]="view | async">
  <kendo-grid-messages 
    detailExpand="Expandieren" 
    detailCollapse="Zusammenbruch"  > 
 </kendo-grid-messages>
</kendo-grid>

In this StackBlitz example, I have modified the title of the Expand and the Collapse icon in the Kendo UI Master-Detail Grid.

I hope this helps. Please let me know if I can further assist you.

Regards,
Hetali
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Grid Localization
Asked by
WenatexIT
Top achievements
Rank 1
Answers by
Hetali
Telerik team
Share this question
or