The following code returns English names, despite the fact that I localized the current culture.
List<string> languageList = new List<string>(); CultureInfo[] cultureList = CultureInfo.GetCultures(CultureTypes.AllCultures); foreach (CultureInfo culture in cultureList) { languageList.Add(culture.DisplayName); }
What if I want the display names to appear in Italian, or in German, or in any other language that I specify? Any suggestions?
source share