Winform File Save Dialog - Override Localization

My winform application user interface is in English. Localization support is not supported. When I use the OpenFileDialog dialog, it appears with the language as the hosted OS. I would like all the dialogs in my application to be in English, regardless of which language the OS is hosting.

I tried adding this to the top of my application:

Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-US"); 

Unfortunately, this did not work.

Help someone?

+4
source share
1 answer

Try installing Thread.CurrentThread.CurrentUICulture as well

CurrentUICulture is responsible for localization

more here http://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo.currentuiculture.aspx

and on some blogs http://www.siao2.com/2007/01/11/1449754.aspx

+1
source

All Articles