currentuiculture

Override CurrentCulture for Winforms control

Hi, Does one of you know if its possible to override the CurrentCulture and the CurrentUICulture for a specific control in Winforms? So that this one specific controls uses a different culture? tia Martin ...

Why is my language switching automatically in ASP.NET 2.0?

I am working on an ASP.NET 2.0 web solution which currently runs en-GB and zh-HK languages as the 2 current languages for the site. Others will be added at a later date. One of the requirements is that the user can choose to override the language displayed to another language. Therefore users in Hong Kong can view the site in English an...

Where can I set the initial value of CurrentUICulture in Windows XP?

I'm trying to make my application support multiple languages. I've made some satellite assemblies and now I want to test what the app will look like when run on a French machine, for example. In [Control Panel->Regional And Language Options] I can select French (France) in the Regional Options tab, and I can select French (France) in th...

Silverlight 3 localization configuration

I would like to know how I can configure my Silverlight application to be able to change the UICulture of the current thread without having to recompile the application. If I set the current thread culture in the app.xaml, I need to recompile each time to change the culture. If I add an Application Settings, how can I retrieve that inf...

C#: Thread.CurrentThread.CurrentUICulture not working consistently

I've been working on a pet project on the weekends to learn more about C# and have encountered an odd problem when working with localization. To be more specific, the problem I have is with System.Threading.Thread.CurrentThread.CurrentUICulture. I've set up my app so that the user can quickly change the language of the app by clicking a...

Accessing resource strings with CultureInfo in .NET

Another simple questions. I have website with different languages. If I want to access a string from the resource file I would use it like this Resources.MyResourceFile.MyStringIdentifier Very easy. That way I know during compile time, that the resource string exists. Now, this works only if I want to use the current Culture. Somet...

.NET Globalization: Set Culture/UICulture on a Page or a Thread? What's the difference?

Question title is basically the entire question. In ASP.NET you can set the Culture/UICulture properties of a page by overriding the InitializeCulture method, or you can set the properties of the current thread. What are the differences? What are the advantages/disadvantages of both? What situations would you use each option? ...