#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 software development and sailing.

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 comment