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

[Solved] RadDataGrid localization keys requested

5 Answers 113 Views
Grid for XAML
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Thomas
Top achievements
Rank 1
Thomas asked on 07 Feb 2014, 09:30 AM
Hi,

I'm looking for the RadDataGrid localization keys - but Ican't find a list of them. I want to localize all used string resources of the grid control ("drag-a-column-here-to-group" message, and all filter-regarding string-resources).

Could you please provide the keys in the documenation like for the RadDate-/RadTimePicker controls?

Many thanks in advance!

Ciao

Thomas

5 Answers, 1 is accepted

Sort by
0
Ivaylo Gergov
Telerik team
answered on 07 Feb 2014, 11:19 AM
Hi Thomas,

Thank you for your question.

I will add the localization keys for the RadDataGrid in the documentation right away. Also, for your convenience I have attached the resource file that contains all the localization keys.

Let me know should you have any other questions or suggestions.
 

Regards,
Ivaylo Gergov
Telerik

Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).

0
Thomas
Top achievements
Rank 1
answered on 08 Feb 2014, 05:54 AM
Hi Ivaylo,

many thanks for your answer and providing me the resource file!

I just added it to my resource files for the different languages. Nevertheless the RadDataGrid seems not to use the StringLoader which I have implemented to resolve the string resources:

// initialize the telerik string loader
InputLocalizationManager.Instance.StringLoader = new TelerikStringLoader();

The TelerikStringLoader is then implemented like this

class TelerikStringLoader : IStringResourceLoader {
 public string GetString(string key) {
  ...
 }
}


This is working for RadDate/RadTimePicker but seems not to be called when instantiating a RadDataGrid (I added a breakpoint in the GetString() method).

Could you please have a look on?

Many thanks in advance!

Ciao

Thomas


0
Accepted
Ivaylo Gergov
Telerik team
answered on 11 Feb 2014, 09:17 AM
Hi Thomas,

Sorry for not clarifying this: The class that encapsulates the localization logic for the RadDataGrid control is the GridLocalizationManager.

Let me know if this works for you.


Regards,
Ivaylo Gergov
Telerik

Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).

0
Thomas
Top achievements
Rank 1
answered on 12 Feb 2014, 03:57 AM
Hi Ivaylo,

many thanks for this hint :-) Now it works perfectly!

Best regards

Thomas

0
Vadim
Top achievements
Rank 1
answered on 27 Feb 2014, 02:50 PM
Thanks Ivaylo, now it works
Tags
Grid for XAML
Asked by
Thomas
Top achievements
Rank 1
Answers by
Ivaylo Gergov
Telerik team
Thomas
Top achievements
Rank 1
Vadim
Top achievements
Rank 1
Share this question
or