More in this section

Forums / Bugs & Issues / Language Selector Capitalization

Language Selector Capitalization

2 posts, 0 answered
  1. Chris
    Chris avatar
    1 posts
    13 Jun 2011
    08 Aug 2011
    Link to this post
    We're using the language selector on our website, and having an odd issue. The spanish language drop down item is not capitalized. Why this is I'm not sure, but it looks very akward. Is there a way to forcibly change the text of the item? Or maybe update the text in the sitefinity administration or database?
  2. Svetoslav Petsov
    Svetoslav Petsov avatar
    456 posts
    24 Sep 2012
    09 Aug 2011
    Link to this post
    Hi Chris,

    The language titles come from .Net framework and are displayed the way they are by default.
    There is a workaround to change that, using css (with the css widget). You can select the Language Selector control and change the style of the item you want (and apply capital letter to it).


    Another option is using java script widget and jqeury


    where you call string.ToUpperCase method of the selected value.

    The third option is a custom widget that inherits from LanguageSelectorControl

    I hope that helps.

    Best wishes,
    Svetoslav Petsov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested 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