1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Custom Localization DropDown

Custom Localization DropDown

2 posts, 0 answered
  1. Trevor
    Trevor avatar
    17 posts
    Registered:
    18 Nov 2010
    05 Jan 2011
    Link to this post
    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
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    05 Jan 2011
    Link to this post
    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



    All the best,
    Ivan Dimitrov
    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
2 posts, 0 answered