CultureInfo.EnglishName Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets the culture name in the format "language (country/region)" in English.
Assembly: mscorlib (in mscorlib.dll)
Property Value
Type: System.StringThe culture name in the format "language (country/region)" in English, where language is the full name of the language and country/region is the full name of the country or region.
The following example displays the EnglishName property as well as the DisplayName and NativeName properties of several cultures.
Imports System.Globalization Public Module Example Public Sub Demo(outputBlock As System.Windows.Controls.TextBlock) outputBlock.FontFamily = New FontFamily("Courier New") Dim cultureStrings() As String = {"nl-NL", "en", "en-US", "fr-FR", _ "de-DE", "ru-RU", "sr-Cyrl-CS", _ "sr-Latn-CS", "es-MX", "sv-SE"} outputBlock.Text += String.Format("{0,-12} {1,-30} {2,-30} {3,-30}", _ "Culture", "DisplayName", "NativeName", _ "EnglishName") + vbCrLf + vbCrLf For Each cultureString As String In cultureStrings Try Dim ci As New CultureInfo(cultureString) outputBlock.Text += String.Format("{0,-12} {1,-30} {2,-30} {3,-30}", _ cultureString + ":", ci.DisplayName, _ ci.NativeName, ci.EnglishName) + vbCrLf Catch e As ArgumentException outputBlock.Text += String.Format("Unable to create the {0} culture.", _ cultureString) + vbCrLf End Try Next End Sub End Module ' The example displays the following output: ' Culture DisplayName NativeName EnglishName ' ' nl-NL: Dutch (Netherlands) Nederlands (Nederland) Dutch (Netherlands) ' en: English English English ' en-US: English (United States) English (United States) English (United States) ' fr-FR: French (France) français (France) French (France) ' de-DE: German (Germany) Deutsch (Deutschland) German (Germany) ' ru-RU: Russian (Russia) русский (Россия) Russian (Russia) ' sr-Cyrl-CS: Serbian (Cyrillic, Serbia) српски (Србија) Serbian (Cyrillic, Serbia) ' sr-Latn-CS: Serbian (Latin, Serbia) srpski (Srbija) Serbian (Latin, Serbia) ' es-MX: Spanish (Mexico) Español (México) Spanish (Mexico) ' sv-SE: Swedish (Sweden) svenska (Sverige) Swedish (Sweden)
Show: