More in this section

Forums / Developing with Sitefinity / Edit language List - Language Bar

Edit language List - Language Bar

2 posts, 1 answered
  1. Karandeep Singh
    Karandeep Singh avatar
    12 posts
    Registered:
    27 May 2010
    20 Jul 2010
    Link to this post
    Hello,

    I am using the Language Selector to switch between languages. I have created pages for English and Spanish only. I want that only English and Spanish Languages be displayed in the DropDownList. How can i accomplish this?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    20 Jul 2010
    Link to this post
    Hello Karandeep Singh,


    LanguageBar is populated by cultures defined in your web.config - localization node. You can remove the cultures that you do not need, since you use only two languages. Another option is to remove the ListItems programmatically as shown in this post - Language "Toggle"

    Greetings,
    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
    Answered
2 posts, 1 answered