Most part of languages are done by the OS and Net versions. By telling that
the culture is Belgian and the language is Dutch, the computer with a French
OS does not change by that its user interface.
Your own part of text in your program should be done using the RESX files.
You can try to use the properties of the form of that, however don't think
it is an easy way, at least you should then very well familiar with all the
natural languages that you use.
Thanks for your reply. I had originally thought you were in holiday,and
would have no time to write in the group. Now I find I am wrong. Thanks for
your diligence and happy Chrismas to you all.
I have a solution which contains a windows application project and a class
library project. I add resources(such as English and Chinese text) to both
projects. I will put the language change mechanism ( by executing the
method: My.Application.ChangeUICulture(somelanguage)) in the windows
application project. I wonder if the class library resources can be
changed properly when I run the solution and change language in the windows
application , I didn' t do anything associated with language change.
Here a very simple sample
Threading.Thread.CurrentThread.CurrentCulture = New
Globalization.CultureInfo("en-US")
MessageBox.Show(Now.ToLongDateString)
Threading.Thread.CurrentThread.CurrentCulture = New
Globalization.CultureInfo("en-GB")
MessageBox.Show(Now.ToLongDateString)
Threading.Thread.CurrentThread.CurrentCulture =
Globalization.CultureInfo.InstalledUICulture
MessageBox.Show(Now.ToLongDateString)
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.