I'm trying to make 2 dropdown lists.
The top one offers all cultures, (but no repeats). Example: English, Spanish, Filipino
After selecting from the top list the bottom list will show any specific types.
I right now I use this code for my top list.
foreach (CultureInfo cultureInfo in CultureInfo.GetCultures(CultureTypes.NeutralCultures))
However it does not show Filipino (Philippines) I'd rather not use GetCultures(CultureTypes.AllCultures)) because it shows too many at once.
It seems like I may need to load NeutralCultures into an IList. Then iterate through AllCultures to make sure it's ThreeLetterISOLanguageName is in the list, if not add it.
There a best practice for this?
Thanks