Language List Generator

Home > Language List Generator

This page shows you some of possibilities for the language list.

The Language list is the list of cultures used by Language Switcher. It is always made of 2 Cultures.

Dot net Framework defines 2 Current Cultures:

The list exposes these possibilites.

The first one is the UI Culture, the second one is the formatting Culture.

The list of languages is in the form of: CurrentUILanguage=CurrentLanguage;....

Remember that first one can be any Culture, but second one (formatting) MUST be specific: it MUST include region specification.

If you omit the second one the Language switcher choose one for you.

If the first ons is not specific (e.g.: en) the Switcher chooses the best match accorsing to CultureInfo property. (en-US in this sample).


Select one test from dropdown below and the layout mode for testing Switcher in DropDown or Flags list mode.

EnglishEnglish
ItalianItalian

CurrentUICultureen
CurrentCultureen-US
LanguageListen=en-US;it=it-IT
TypeVerticalLinksList
FlagsDisplayUICultureList
LabelsDisplayUICultureList
ShowNameAsDisplayName
ChangeLanguageActionPostback
ChangeLanguageUrl/CultureListGenerator.aspx
ImagePathimages/flags/

More tests on Language Switcher control

This button has no event handler associated with it.
Pressing it causes a postback.
I use it for testing that viewstate works properly.
If you press it and pages reloads exactly
as were before it works!