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 MsgBoxResultMessageBoxAnswer = 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
Triggering Me.Refresh doesn't do anything !
Is this possible or shall I simply restart my application ?
Thank you !

