Groups | Blog | Home
all groups > dotnet internationalization > october 2004 >

dotnet internationalization : Localize error message and messagebox content problem.


Tracey
10/14/2004 11:35:38 AM
There are a few localization things I'm not clear with. I was able to
localize my winform throught the following steps:
1. Set the winform localizable to be true
2. Select the languages to foreign language I wish
3. Change the control UI string to foreign language
4. Change the cultureinfo of current thread.

My question is how to localize the messagebox content like "Please input
your name" into foreign language if user input nothing in the name textbox,
and how to localize the error message shown in my application ?

Any suggestion will be really appreciated.
Jesper Holmberg [msft]
11/20/2004 11:11:03 AM
Hi Tracey,

MSDN has a good section about how to get "non-UI" (anything that's not
statically assigned to a control) localized.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbwlkWalkthroughLocalizingWindowsForms.asp
has a walkthrough for almost exactly what you're trying to do.

http://msdn.microsoft.com/library/en-us/vbcon/html/vboriInternationalization.asp is a good starting point if you want to read more.

Hope this helps,
Jesper
http://blogs.msdn.com/jesperh

[quoted text, click to view]
AddThis Social Bookmark Button