More in this section

Forums / Developing with Sitefinity / Language menu control

Language menu control

2 posts, 0 answered
  1. Chanan Zass
    Chanan Zass avatar
    123 posts
    Registered:
    21 Aug 2012
    22 Mar 2010
    Link to this post
    Greetings,

    We'd like to customize the language menu control (add a javascript to set a cookie upon index changed).
    This is required in order to maintain language choice across subdomains.

    Unfortunately, we've not been able to find where this control is placed within the Sitefinity Web application.
    Is it accessible at all for customization?

    Thanks in advance.

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    22 Mar 2010
    Link to this post
    Hello Chanan Zass,

    There is a built-in control -  LanguageBar control. The control is embedded into Telerik.Libraries.dll. If you want to customize it you have to create a custom class that inherits from LanguageBar. The better option will be creating a new control and populate it with the available cultures (LocalizationManager.Cultures.Values)

    Best wishes,
    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