The snippet below will fill a label with all the cultures stored. Since india has 5 languages India will be in there five times. I will keep this as an emergency solution because it also misses out on some countries. Like where is mauritsius ?
I was always wondering if I couldn't obtain this list from the OS. So this question is answerred.. I can :) But not correctly
RegionInfo
ri;
foreach (CultureInfo ci in CultureInfo.GetCultures(CultureTypes.SpecificCultures))
{
string cu = ci.Name;
cu = cu.Substring(cu.Length - 2);
try
{
ri = new RegionInfo(cu);
Label1.Text += ri.EnglishName + "
";
}
catch
{
string eng = ci.EnglishName;
eng = eng.Substring(eng.LastIndexOf(",")+2, eng.Length - (eng.LastIndexOf(",")+2) - 1);
Label1.Text += "" + eng + "
";
}
}