Browse DevX
Sign up for e-mail newsletters from DevX


Localizing ASP.NET 2.0 Applications : Page 4

As we compete in the global economy, the challenges in globalizing include understanding the language and culture of the local audience. An application written for the American market may not be useable in the Asian market. Learn to localize your application for the world market.




Building the Right Environment to Support AI, Machine Learning and Deep Learning

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:

  1. Go to Control Panel and double-click on Regional and Language Settings.
  2. Click on the Languages tab.
  3. Check the "Install files for East Asian languages" checkbox (see Figure 15)

Figure 15: Installing the Chinese language support.
Figure 16: Configuring the input languages.
  1. Click OK. Windows XP will install the necessary files for the new languages. You will need your Windows XP installation disk. Windows will restart.
  2. After the restart, go back to the same window (as shown in Figure 15) and click on the Details... button.
  3. The Text Services and Input Languages window will be displayed, as shown in Figure 16.
  1. Click the Add... button to display the Add Input Language window (see Figure 17).

Figure 17: Adding a new input language.
Figure 18: Configuring the Chinese language service.
  1. Select "Chinese (PRC)" as the input language and select "Chinese (Simplified) - Microsoft Pinyin IME 3.0" as the keyboard layout/IME. Click OK.
  2. Under the Installed services group, select the "Chinese (Simplified) - Microsoft Pinyin IME 3.0"service and click on the Properties... button (see Figure 18).
Figure 19: Configuring Windows for "hanyupinyin" input.
  1. In the Conversion mode group, select "Sentence." In the Candidate option group, check the "Prompt step by step" checkbox (see Figure 19). Click OK.
You should now see the language bar displayed in the Taskbar (see Figure 20). 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 21). In this article, you have seen how ASP.NET 2.0 makes localization an easy and painless process. Localization is no longer a luxury item that companies can choose to ignore; it is fast becoming a strategic feature that separates your product from your competitors. With ASP.NET 2.0, you should start planning to localize your applications today.

Figure 20: Choosing the input language.
Figure 21: Chinese input using "hanyupinyin."

Wei-Meng Lee is a Microsoft MVP and founder of Developer Learning Solutions, a technology company specializing in hands-on training on the latest Microsoft technologies. He is an established developer and trainer specializing in .NET and wireless technologies. Wei-Meng speaks regularly at international conferences and has authored and coauthored numerous books on .NET, XML, and wireless technologies. He writes extensively on topics ranging from .NET to Mac OS X. He is also the author of the .NET Compact Framework Pocket Guide, ASP.NET 2.0: A Developer's Notebook (both from O'Reilly Media, Inc.), and Programming Sudoku (Apress). Here is Wei-Meng's blog.
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date