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

language in the grid

2 Answers 220 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Lerovi
Top achievements
Rank 1
Lerovi asked on 16 Feb 2012, 04:44 PM
how I can change the language filter and grouping area in the grid? 

2 Answers, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 17 Feb 2012, 05:50 PM
Hello Leider,

In grid's filter menu, you can change the default text into a custom one (in any language) via configuration options. For example:
filterable: {
    messages: {
        info: "Custom text:", //set the text on the top
        filter: "CustomTxt", //set the text on Filter button
        clear: "CustomTxt" //set the text on Clear button
    }
}

Changing the message of the grouping header is not currently supported out of the box. As a workaround you can replace it with JavaScript. The following code should do the trick.
$(".k-grouping-header").html("Custom text");

I hope this information helps. Please let me know if I missed something.

Kind regards,
Alexander Valchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Carlos
Top achievements
Rank 1
answered on 10 Mar 2012, 05:59 AM
How I can replace the default text in the filter menu? i.e. 'and', 'or', 'is equal to', etc, to: 'y', 'o', 'igual a', etc (spanish).
Thanks
Tags
Grid
Asked by
Lerovi
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Carlos
Top achievements
Rank 1
Share this question
or