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

How to localize RadColorBox?

3 Answers 125 Views
ColorBox
This is a migrated thread and some comments may be shown as answers.
xclirion
Top achievements
Rank 1
xclirion asked on 19 Jul 2013, 12:16 PM
I need to localize the text of the RadColorBox. Whats the right way to do this? Is there a LocalizationProvider?

Thanks,
Michael 

3 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 24 Jul 2013, 09:50 AM
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 >>
0
xclirion
Top achievements
Rank 1
answered on 24 Jul 2013, 10:17 AM
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
0
Stefan
Telerik team
answered on 26 Jul 2013, 05:33 AM
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 >>
Tags
ColorBox
Asked by
xclirion
Top achievements
Rank 1
Answers by
Stefan
Telerik team
xclirion
Top achievements
Rank 1
Share this question
or