Hello Cüneyit Baş,
Thank you for writing.
The general approach for localizing our controls concerns the process of creating your own localization providers, as you can find out in the code library section that Bernd has given:
http://www.telerik.com/community/code-library/winforms/localization-providers.aspx.
In regards to RadPanelBar, the versions prior to Q2 2010 do not support localization providers. However, as of Q2 2010, the new control that substitutes RadPanelBar - RadPageView - allows you to localize its strings. For additional information about RadPageView, please refer to this
blog post.
Please follow the steps below. They demostrate how you can localize RadPageView:
- Create a descendant of the RadPageViewLocalizationProvider class.
- Override the GetLocalizedString(string id) method and provide translation for the strings of RadPageView. If no translation is provided, the default value will be returned. This behavior is guaranteed by the call to the base GetLocalizedString method in the default clause of the switch statement in the example:
To apply the custom localization provider, instantiate and assign it to the current localization provider:
I hope this helps.
Sincerely yours,
Stefan
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items