We are now in the process of localizing our windows forms application. Will we need to do anything special to support localization beside setting the form localization property to "true" and changing the language setting?
Also i have this snippet of code in the constructor of my form
Application.EnableVisualStyles()
Select Case CultureInfo.CurrentCulture.Name
Case "en-US"
Thread.CurrentThread.CurrentUICulture = New CultureInfo("en-US")
Case "zh-CN"
Thread.CurrentThread.CurrentUICulture = New CultureInfo("zh-CHT")
End Select
InitializeComponent()
Because we just changed all of our text to Chinese and its showing up in the designer, but if we run it display back in english.
This way works fine using basic windows forms dot net controls, what's missing?
Also i have this snippet of code in the constructor of my form
Application.EnableVisualStyles()
Select Case CultureInfo.CurrentCulture.Name
Case "en-US"
Thread.CurrentThread.CurrentUICulture = New CultureInfo("en-US")
Case "zh-CN"
Thread.CurrentThread.CurrentUICulture = New CultureInfo("zh-CHT")
End Select
InitializeComponent()
Because we just changed all of our text to Chinese and its showing up in the designer, but if we run it display back in english.
This way works fine using basic windows forms dot net controls, what's missing?