One level up from this question, what would be the way to store all (and loop through) available resources and associated cultures, to allow user selection of a specific culture?
Further explanation:
Suppose three resource files:
- GUILanguage.resx
- GUILanguage.fr.resx
- GUILanguage.it.resx
I could have a string in each called LanguageName. How would I be able to programmatically loop through the different LanguageName values to list them (in say a list box)?
EDIT: WinForms project, embedded resources.
Here is a solution I think works for Winforms:
And here is how you would use it for a WindowsFormsApplication1: