Custom Localization DropDown
I would really appreciate some help with building a custom control or if possible create a template for the localization control. How would I go about accessing the localization dropdown control functionality?
What I am doing is basically creating a dropdown and simply adding flags to the RadComboBox, I would like to populate the dropdown from the Sitefinity localization settings.
Thank you very much for your assistance.
Trevor
Hello Trevor,
1. You can directly inherit from Telerik.Sitefinity.Localization.Web.UI.LanguageSelectorControl. Here is a sample code
2. You can get all available cultures by using
ObjectFactory.Resolve<IAppSettings>().DefinedFrontendLanguages