Globalizing and Localizing Windows Application, Part 2
Pages: 1, 2, 3
Appendix A. Configuring Windows XP for Chinese Language Input
Windows XP comes with built-in support for inputting languages other than English. As a Singaporean Chinese, I am thrilled that I can input Chinese characters into my applications, such as Word, Notepad, and even my .NET applications.
Here is how you can configure Windows XP to support the Chinese language:
- Go to Control Panel and double-click on Regional and Language Settings.
- Click on the Languages tab.
- Check the "Install files for East Asian languages" checkbox
(see Figure 13).

Figure 13. Installing the Chinese language support - Click OK. Windows XP will install the necessary files for the new languages. You will need your Windows XP installation disk.
- Windows will restart.
- After the restart, go back to the same window (as shown in Figure 13) and click on the Details... button.
- The Text Services and Input Languages window will be displayed,
as shown in Figure 14.
Figure 14. Configuring the input languages - Click the Add... button to display the Add Input Language window
(see Figure 15).
Figure 15. Adding a new input language - Select "Chinese (PRC)" as the input language and select "Chinese (Simplified) - Microsoft Pinyin IME 3.0" as the keyboard layout/IME. Click on OK.
- Under the Installed services group, select the "Chinese (Simplified)
- Microsoft Pinyin IME 3.0"service and click on the Properties...
button (see Figure 16).
Figure 16. Configuring the Chinese language service - In the Conversion mode group, select "Sentence". In the
Candidate option group, check the "Prompt step by step"
checkbox (see Figure 17). Click OK.
Figure 17. Configuring Windows for "hanyupinyin" input - You should now see the language bar displayed in the Taskbar (see
Figure 18).
Figure 18. Choosing the input language - To switch to Chinese input, you can either use the Taskbar or press the Left Alt+Shift key combination to toggle between English and Chinese input.
- To test it out, use Notepad. As you type the "hanyupinyin"
of the Chinese character, a list of characters that matches it will
be displayed. To select the desired character, simply press its
numeric equivalent (see Figure 19).
Figure 19. Chinese input using "hanyupinyin"
Wei-Meng Lee (Microsoft MVP) http://weimenglee.blogspot.com is a technologist and founder of Developer Learning Solutions http://www.developerlearningsolutions.com, a technology company specializing in hands-on training on the latest Microsoft technologies.
Return to ONDotnet.com
You must be logged in to the O'Reilly Network to post a talkback.
Showing messages 1 through 4 of 4.
-
sizing?
2004-03-26 06:14:51 tsdico [Reply | View]
I'm using the assembly approach - when I run my app on chinese win 2000 everything works great -
EXCEPT
my form's size is increased about 2/3 larger than it should be (along with every control). Is this a system issue or something I have to take into account in my application?
Tom
-
Executable Size Increases
2003-10-02 05:51:34 anonymous2 [Reply | View]
You should probably mention that when you select Localizable = true that you executable size can increase 10x the original size for a simple form. Although disk space is cheap, it's important to know that if only one form at about 50KB gets turned in 500KB. If your project has many forms, that could add up fast...
-
Thank you!
2003-10-01 07:42:23 anonymous2 [Reply | View]
I've already had to come up with a multi-lingual application this year in .NET and spent a lot of time reading MS's documentation. I eventually put snippits of text in xml files and had a method updating the controls collection. Worked well but added a lot unneeded coding.
I'm about to do it again and these straight-forward examples will save me a lot of development time... where was this on MSDN?
Thanks!






I am developing a design time control for Localization of win forms..
For this I am using ComponentDesigner(Microsoft.VSDesigner.dll)
I can change the text and flip the controls of the form during design time..
But I need to know whether I can set the Localizable property of the form to true using componentdesigner or some other way..
Please help me with this..
Thank you