Is it possible to change UI language without restarting ?

Hi,

I would like to know if it's possible to change language of my software,
without restarting it ?

Dim oldlanguage = Thread.CurrentThread.CurrentCulture
Dim oldui = Thread.CurrentThread.CurrentUICulture

OptionsForm.ShowDialog()

My.Settings.Save()

Dim newlanguage =My.Settings.DefaultLanguage
Dim oldlanguagestring = oldlanguage.ToString
Dim newlanguagestring = newlanguage.ToString

If newlanguagestring <> oldlanguagestringThen

Dim MessageBoxAnswerAs MsgBoxResult

MessageBoxAnswer = MsgBox("Language will not change until application is restarted !" & vbCrLf &"Restart ?", MsgBoxStyle.YesNo)

oldlanguage = newlanguage
oldui = newlanguage

Thread.CurrentThread.CurrentCulture = oldlanguage
Thread.CurrentThread.CurrentUICulture = oldui

My.Settings.Reload()

Me.Refresh()

EndIf

Triggering Me.Refresh doesn't do anything !

Is this possible or shall I simply restart my application ?

Thank you !

[2146 byte] By [aybe] at [2007-12-28]
# 1
Can change language while debugging, but when publishing, only one language is built in.
aybe at 2007-9-4 > top of Msdn Tech,Visual Basic,Visual Basic General...