473,404 Members | 2,114 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

supported cultures for one application

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.
Nov 17 '05 #1
3 2174
Les
znappa,
I may be wrong, but I believe you will have to make a list of languages that
your applications are enabled to support.

"znappa" wrote:
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.

Nov 17 '05 #2
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.

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

"znappa" wrote:
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.

Nov 17 '05 #3
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
"znappa" <zn****@discussions.microsoft.com> wrote in message
news:64**********************************@microsof t.com...
| 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.
Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Nithi Gurusamy | last post by:
I am facing this error after making changes to client configuration utility of SQL Server 2000: Description: An unhandled exception occurred during the execution of the current web request....
3
by: LWoodIS | last post by:
TaskVisible property not supported in VB.Net Is there any WinAPI around this problem? Why do you support NotifyIcon when you do not support TaskVisible property in VB.Net? Your help says...
5
by: eadams | last post by:
I've been tasked with writing an application in VB.Net that will manipulate messages in a user's Inbox. My Exchange admin prefers that I use MAPI; I don't really care, but I want this to be as...
1
by: papri | last post by:
Hello All. Thanks for letting me in. I have a question regarding setting Culture in Web.config file in an ASP.NET application. I added the culture = "ar-SA", and then when i added a calendar...
0
by: Thomas Kristiansen | last post by:
Hi IS there any way that I can use different cultures on Session level in one single .NET Web application ?? CU Thomas
1
by: JezB | last post by:
Could anyone tell me how to implement custom cultures in ASP.NET 2.0, such that it automatically picks up application and page-level resources from the Resources and LocalResources application...
0
by: Dave Harris | last post by:
After switching cultures for a thread, the Menu shortcuts are still showing the English word shift (as in Ctrl+Shift+M instead of Ctrl+Maj+M in French). Running this on a French version of windows...
0
by: GB | last post by:
All, I raised a problem a while ago about custom cultures in .NET and an error whereby a "Resource lookup failed - infinite recursion detected" exception was raised. Usually this was raised when...
0
by: Nays | last post by:
Hi All I would be very grateful for any help with a problem I am having with Custom Cultures. I need to change the date format of a specific culture. I have created a custom culture that...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.