supported cultures for one application

  • Thread starter Thread starter Guest
  • Start date Start date
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.
 
znappa,
I may be wrong, but I believe you will have to make a list of languages that
your applications are enabled to support.
 
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.
 
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.
 
Back
Top