Localization for Telerik controls

2 posts, 0 answers
  1. Bexar Vossen
    Bexar Vossen avatar
    1 posts
    Member since:
    Feb 2010

    Posted 31 Aug 2015 Link to this post

    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?​

  2. Martin
    Admin
    Martin avatar
    1099 posts

    Posted 03 Sep 2015 Link to this post

    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
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top