Thread.CurrentThread.CurrentUICulture

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • spig.marco@gmail.com

    #1

    Thread.CurrentThread.CurrentUICulture

    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.CurrentT hread.CurrentUI Culture = New CultureInfo("en ")
    ....
    Doesn't happen anything!

    That's wrong?

    Thanks

    Marco

  • Herfried K. Wagner [MVP]

    #2
    Re: Thread.CurrentT hread.CurrentUI Culture

    <spig.marco@gma il.comschrieb:
    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.CurrentT hread.CurrentUI Culture = 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.

    --
    M S Herfried K. Wagner
    M V P <URL:http://dotnet.mvps.org/>
    V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

    Comment

    • Cor Ligthert [MVP]

      #3
      Re: Thread.CurrentT hread.CurrentUI Culture

      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


      <spig.marco@gma il.comschreef in bericht
      news:1175429020 .834732.70630@q 75g2000hsh.goog legroups.com...
      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.CurrentT hread.CurrentUI Culture = New CultureInfo("en ")
      ...
      Doesn't happen anything!
      >
      That's wrong?
      >
      Thanks
      >
      Marco
      >

      Comment

      Working...