Reputation: 2120
We are currently working on a webapplication in which people can specify their language. They should be able to choose a language from a dropdownlist, but including all languages supported by either Windows or .NET seems a bit overkill. I am trying to limit this to all European languages, but I can't seem to find a way without specifically specifying them in an array of strings.
Microsoft does not seem to have an implementation for this, does anyone have an idea of how to simply solve this issue?
Upvotes: 1
Views: 828
Reputation: 737
Maybe you can start of with something like this:
var cultures = CultureInfo.GetCultures(CultureTypes.AllCultures).Where(
x => x.NumberFormat.CurrencySymbol == "€");
yet there will be missing some
Upvotes: 1