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

Localization for Telerik controls

1 Answer 102 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Bexar Vossen
Top achievements
Rank 1
Bexar Vossen asked on 01 Sep 2015, 03:03 AM

Hi,

I am working on localization of Telerik controls for one system. I have noticed the peculiarity in key naming and am trying to standardize the key naming. I am using this specific Telerik control version: 2009.3.1314.35.

1) RadPivotGrid - Pivot prefix
    RadGridView - GridView prefix
    RadRibbonView - RibbonView prefix

2) RadSchedulerView, RadDocking is not using any prefix. A few example keys: Of, Ok, Last, Every, Hide, Floating.

- Any documentation pertaining to the version we are using? Some documentation on Telerik might not be applicable to the particular version we are using as ​it is for the most current version​.

- We have resource files split and categorized alphabetically - A to Z. All the keys in RadGridView starts with GridView and it would mean we has to put all the keys in "G" resource file and that "G" resource would get too unwieldy. I have an idea on how to handle this.

  <data name="GridViewAlwaysVisibleNewRow" xml:space="preserve">
    <value>Click here to add new item</value>
  </data>
  <data name="GridViewFilterSelectAll" xml:space="preserve">
    <value>Select All</value>
  </data> 

The solution is to use a mapping table to map from Telerik string key to resource string key:
i.e.
Mapping table:
GridViewAlwaysVisibleNewRow --> ClickHereToAddNewItemText --> put in "C" resource file
GridViewFilterSelectAll --> SelectAllText --> put in "S" resource file

Any better suggestion?​

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 03 Sep 2015, 01:50 PM
Hi Bexar,

The UI for WPF documentation is related to the latest version of the suite. I am afraid that there is no documentation that describes old version of our controls. However, if you have a license for version 2009.3. 1314 you should be able to get the source code of the controls where you can find the resource files with the strings used for localization. Those files are located under the [Telerik source folder]/Core/Controls and they are named "Strings.resx", "Strings.es.resx", etc. You can track where the keys are used in the controls' themes and relate them - which string key for what component is responsible.

About RadSchedulerView, indeed, the string keys doesn't include the "SchedulerView" prefix. Currently, I cannot give you better suggestion than reconsidering the mapping mechanism of the resource files as you mentioned in your last reply. 

Regards,
Martin
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
Tags
General Discussions
Asked by
Bexar Vossen
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or