supported cultures for one application

G

Guest

Hi.
Is there a way to get a list of supported cultures/languages for my
application.
By calling CultureInfo.GetCultures( CultureTypes.AllCultures )) I get the
whole list of supported cultures en .NET, I would like to get only those that
are supported for my application.
 
G

Guest

znappa,
I may be wrong, but I believe you will have to make a list of languages that
your applications are enabled to support.
 
G

Guest

Well, thats the thing.
I would like do do this dynamicly, so when I add a new language assembly to
my app. this is fetchet at run time so the user can choose his language.
 
J

Jay B. Harlow [MVP - Outlook]

znappa,
I'm not sure of a built-in method.

Have you considered using a recursive function looking for all the languages
satellite assemblies in the file system, making a note of which ones you
find?

Alternatively have you considered attempting to load each of the cultures
that CultureInfo.GetCultures returns making a note of which ones succeed?

Hope this helps
Jay


| Hi.
| Is there a way to get a list of supported cultures/languages for my
| application.
| By calling CultureInfo.GetCultures( CultureTypes.AllCultures )) I get the
| whole list of supported cultures en .NET, I would like to get only those
that
| are supported for my application.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top