#1,114 – Culture Codes
July 15, 2014 2 Comments
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)