Where to set the The System.Globalization.CultureInfo?

D

David

I have a small Winform program where I set specific text 2 buttons to
be different for UK English.. This was done via the "Language" option
on the form properties.

I call the following code prior to calling "InitializeComponent();"

System.Threading.Thread.CurrentThread.CurrentCulture = new

System.Globalization.CultureInfo("en-GB");


However, the buttons remain on the Default (en-US) rather than
changing to the UK defaults.

This is the correct way according to the MS doc. DO I need to set
some other option on my computer to allow me to see the UK text?

Also, the resource files exist and are called "frmMain.en-GB.resx"

Thanks
 

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