Thread.CurrentThread.CurrentUICulture

  • Thread starter Thread starter spig.marco
  • Start date Start date
S

spig.marco

Hi to all!,

I've downloaded .net Framework SDK 2.0 and I have VB.NET2005 Express
Edition, I would like to create multilanguage systems that changes
with radio button.
With Windows Localization Resource I changed the label of my
FrmMain.vb! and created automaticaly FrmMain.en.resx.
When i lunch the command in FrmMain_load()
....
Thread.CurrentThread.CurrentUICulture = New CultureInfo("en")
....
Doesn't happen anything!

That's wrong?

Thanks

Marco
 
I've downloaded .net Framework SDK 2.0 and I have VB.NET2005 Express
Edition, I would like to create multilanguage systems that changes
with radio button.
With Windows Localization Resource I changed the label of my
FrmMain.vb! and created automaticaly FrmMain.en.resx.
When i lunch the command in FrmMain_load()
...
Thread.CurrentThread.CurrentUICulture = New CultureInfo("en")
...
Doesn't happen anything!

Set the culture in the constructor. In the form's 'Load' event it's too
late because captions have already been loaded and assigned to the controls.
 
You wrote that you want to create a multilanguage system but you was using
the culture settings.

Be aware that there is a big difference between language and culture (for
the computer).

Culture has not much to do with language. (In the EU with its more than 40
languages there are much less cultures). (Not talking about historical
because those are endless).

Cor
 
Back
Top