How to localize RadColorBox?

4 posts, 0 answers
  1. Michael Topf
    Michael Topf avatar
    23 posts
    Member since:
    May 2010

    Posted 19 Jul 2013 Link to this post

    I need to localize the text of the RadColorBox. Whats the right way to do this? Is there a LocalizationProvider?

    Thanks,
    Michael 
  2. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 24 Jul 2013 Link to this post

    Hi Michael,

    Thank you for writing.

    RadColorBox does not have any strings that should be localized, hence it does not have a localization provider. The control allows you to select a color and displays either its RGB value, or if the color is named (Color.IsNamedColor) it displays its name.

    I hope that you find this information useful.

    Regards,
    Stefan
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Michael Topf
    Michael Topf avatar
    23 posts
    Member since:
    May 2010

    Posted 24 Jul 2013 Link to this post

    Hi Stefan,

    please have a look at the attached screenshot. This was taken on a german Windows and there are lots of strings of the RadColorBox that must be localizable in my opinion.

    I've found the following way to set at least the text of some labels:

    
    
    radColorBoxRegularText.ColorDialog.ColorDialogForm.BasicTabHeading ="localized Text"

    But doing this for 10 or more RadColorBox elements can't be the right way.

    The names of the Colors seems to be ok, to be in English, since they come from a .net enumeration.

    Thanks,
    Michael
  5. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 26 Jul 2013 Link to this post

    Hello Michael,

    Please excuse me for the introduced confusion. Here is an article describing how to localize the RadColorDialog which RadColorBox is using: http://www.telerik.com/help/winforms/forms-and-dialogs-colordialog-localization.html.

    Let us know if you have any other questions.
     
    Regards,
    Stefan
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top