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

Language translations

6 Answers 308 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Emil
Top achievements
Rank 1
Emil asked on 26 Apr 2016, 10:13 AM

Can you translate the texts in the filters, like "Equals to" "Contains" etc. ?

if so. how ?

 

it would look a lot better if I can translate this to a different language.

 

Regards,

Emil

 

6 Answers, 1 is accepted

Sort by
0
Venelin
Telerik team
answered on 27 Apr 2016, 08:46 AM
Hi Emil,

Please refer to this help article: http://docs.telerik.com/kendo-ui/controls/data-management/grid/localization

Regards,
Venelin
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Emil
Top achievements
Rank 1
answered on 27 Apr 2016, 10:05 AM

this refers to jquery or javascript.

 

is it possible to set this in c# in the grid initialization ?

I tried, but intellisense didnt bring me any of the properties that are used in the example like .info

    .Filterable(messages => messages
        .Enabled(true)
        ))

regards,

Emil

 

 

0
Konstantin Dikov
Telerik team
answered on 29 Apr 2016, 07:04 AM
Hello Emil,

Thank you for contacting us.

The correct syntax for changing the messages for the Filterable should be the following:
.Filterable(f => f.Messages(m=>m.Info("custom info")))

Please give this a try and let me know if any further assistance is needed on this matter.


Kind Regards,
Konstantin Dikov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Emil
Top achievements
Rank 1
answered on 25 May 2016, 11:32 AM

this solved the problem for everything except what is in the dropdownlist that is

Is Equal To

is Not Equal To

Contains 

 

etc. 

how do I translate those properties ?

 

Regards,

Emil

0
Accepted
Konstantin Dikov
Telerik team
answered on 27 May 2016, 06:46 AM
Hi Emil,

In the following forum post you will find some information on the missing properties from the localization resource files:
If the culture that you are using is missing some properties you could include them directly in the js file for that culture.

Hope this helps.


Regards,
Konstantin Dikov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Emil
Top achievements
Rank 1
answered on 30 May 2016, 02:59 PM

I finally found what I was looking for 

 

    .Filterable(f => f.Operators(m => m.ForNumber(n => n.IsEqualTo("Jafngilt")
                        .IsGreaterThan("Er Stærra en"))))
    .Filterable(f => f.Operators(m => m.ForString(n => n.IsEqualTo("Jafngilt")
                        .EndsWith("Lýkur með")

thats where it was, intellisense is a bit fragile and quit on me while trying to find these properties. It actually did that a few times.

 

But still, thats it.

Regards,

Emil

Tags
Grid
Asked by
Emil
Top achievements
Rank 1
Answers by
Venelin
Telerik team
Emil
Top achievements
Rank 1
Konstantin Dikov
Telerik team
Share this question
or