Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Cultures are split into cultures and subcultures. A
culture represents a particular language; a subculture represents a
regional variation of that language. The Framework follows the
RFC1766 standard, which
represents cultures and subcultures with two-letter codes. Here are the
codes for English and German cultures:
en de
Here are the codes for the Australian English and Austrian German subcultures:
en-AU de-AT
A culture is represented in .NET with the System.Globalization.CultureInfo class. You can examine the current
culture of your application as follows:
Console.WriteLine (System.Threading.Thread.CurrentThread.CurrentCulture); Console.WriteLine (System.Threading.Thread.CurrentThread.CurrentUICulture);