Register | Login
Friday, March 12, 2010
  Search
LocaleSelector Configuration

To install the locale selector you must use the token [DSLOCALESELECTOR] in your skin.

The following properties can be modified by your Skin.xml:

Property Possible Values  Default Value  Description
 DropDownListCssClass  Css Class Name    Css Class used by link
 LinkCssClass Css Class Name     Css Class used by link
 DisplayControl  DropDownList    Uses a DropDownList
   Links    A list of links for all languages
 LinksSeparator  Text   |  Link separator template
 LinkTemplate  Text  <a href=""[URL]"" class=""[CssClass]"" title=""[ChangeLocaleText]"">[LocaleNativeName]</a> Link format template
 DropDownListTextTemplate  Text  [LocaleNativeName] DropDownList text template

Possible values replaced in templates are:

  • [LocaleName]
  • [DisplayName]
  • [LocaleNativeName]
  • [EnglishName]
  • [ThreeLetterISO]
  • [TwoLetterISO]
  • [LocaleCode]
  • [ChangeLocaleText] .- Localizing value in the resx file
  • [CssClass] .- Specified by LinkCssClass property.
  • [LocaleCountryName]
  • [LocaleLanguageName]
  • [EnglishName]
  • [LocaleEnglishCountryName]
  • [LocaleEnglishLanguageName]
  • [CountryCode]
  • [LanguageCode]