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

Question about localization

7 Answers 296 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Arnaud
Top achievements
Rank 1
Arnaud asked on 06 Jul 2012, 09:17 AM
Dear all,

Is it possible to translate your kendo.ui grid, for example this message : 'Drag a column header and drop it here to group by that column' or 'Show items with value that:', etc ...

otherwise is it planned and when ?

Thanks and Regards,
Arnaud Viscusi

7 Answers, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 06 Jul 2012, 04:36 PM
Hi Arnaud,

We have a code library project which illustrates how to change the text of the Grid controls using the configuration options and custom jQuery scripts. 

I hope this helps. 

Regards,
Iliana Nikolova
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
dccxz
Top achievements
Rank 1
answered on 11 Jul 2012, 08:02 PM
Hello,
Since Q2 release of KendoUI came in a new pager for the Grid/ListView.
It has now first/prev/next/last page buttons that have tooltips and also wording for number of displayed numbers, i.e.:
n-nnn OF nnnn ITEMS.

How can that be localized with a different language?
Thank you!
0
dccxz
Top achievements
Rank 1
answered on 13 Jul 2012, 01:10 PM
Anyone, please? :)
0
Maxim
Top achievements
Rank 1
answered on 14 Jul 2012, 07:12 PM
It seems that this can be done next way:
element.kendoGrid({
  ...
  pageable: {
            messages: {
                display: "{0} - {1} of {2} items",
                empty: "No items to display",
                page: "Page",
                of: "of {0}",
                itemsPerPage: "items per page",
                first: "Go to the first page",
                previous: "Go to the previous page",
                next: "Go to the next page",
                last: "Go to the last page",
                refresh: "Refresh"
            }
  }
});
0
dccxz
Top achievements
Rank 1
answered on 16 Jul 2012, 12:12 PM
Thanks for a reply Maxim.
However, it does not seem to pick up the messages, they are still original.
0
dccxz
Top achievements
Rank 1
answered on 16 Jul 2012, 01:35 PM
Ok, it actually worked half way. It worked on the built-in pager that Grid renders, but I have another pager on top I call kendoPager() on - and that one did not change any of its labels.

So, apparently pager takes messages parameter as well, which took care of the issue.
0
emidio rana
Top achievements
Rank 1
answered on 30 Apr 2013, 03:41 PM
In the listview-filtering there is in the search box the word "search"
There is a way to customize it for a correct localization?
Tags
Grid
Asked by
Arnaud
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
dccxz
Top achievements
Rank 1
Maxim
Top achievements
Rank 1
emidio rana
Top achievements
Rank 1
Share this question
or