#1,114 – Culture Codes

In developing applications for Windows, a culture can be thought of as the combination of a particular language and the country or region where the language is being spoken.

Examples of specific cultures, representing a language and a region, include:

  • English / United States
  • English / United Kingdom
  • French / Belgium
  • French / France
  • German / Germany

Examples of neutral cultures, with no specific culture, include:

  • English
  • French
  • German

Cultures are represented in WPF by the use of culture codes or language tags, which conform to RFC 4646.  A language tag is composed of a code representing the language and a code representing the country or region, separated by a hyphen.

Below are several examples of names for specific cultures:

  • en-US  (English / United States)
  • en-GB  (English / United Kingdom)
  • fr-BE  (French / Belgium)
  • fr-FR  (French / France)
  • de-DE  (German / Germany)

A neutral culture is represented by the code for the language, by itself:

  • en  (English)
  • fr  (French)
  • de  (German)

About Sean
Software developer in the Twin Cities area, passionate about .NET technologies. Equally passionate about my own personal projects related to family history and preservation of family stories and photos.

2 Responses to #1,114 – Culture Codes

  1. Pingback: Dew Drop – July 15, 2014 (#1814) | Morning Dew

  2. Pingback: #1,120 – Getting a List of All Supported Cultures | 2,000 Things You Should Know About WPF

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: