Localization Like the Pros

Microsoft .NET Framework, ASP.NET, Visual C# (CSharp, C Sharp, C-Sharp) Developer Training, Visual Studio


Jump to: navigation, search
CSharp-Online.NET:Articles
C# Articles

Localize Like the Pros

© 2004 Wiley Publishing, Inc.
This article—Localization Like the Pros—is from Professional C#, 3rd edition, by Simon Robinson, Christian Nagel, Karli Watson, Jay Glynn, Morgan Skinner, Bill Evjen. Copyright © 2004 Wiley Publishing, Inc. All rights reserved. Reproduced by permission. This article has been edited especially for C# Online.NET.


Localization

NASA’s Mars Climate Orbiter was lost on September 23, 1999 at a cost of $125 million because one engineering team used metric units, while another one used inches for a key spacecraft operation. When writing applications for international distribution, different cultures and regions must be kept in mind.

Different cultures have diverging calendars and use different number and date formats, and also the sort order with the letters A-Z may lead to various results. To make applications fit for global markets you have to globalize and localize them.

Globalization is about internationalizing applications: preparing applications for international markets. With globalization, the application supports number and date formats depending on the culture, different calendars, and so on. Localization is about translating applications for specific cultures. For translations of strings, you can use resources.

.NET supports globalization and localization of Windows and Web applications. To globalize an application you can use classes from the namespace System.Globalization; to localize an application you can use resources that are supported by the namespace System.Resources.

This chapter covers the globalization and localization of .NET applications; more specifically, we discuss:

  • Using classes that represent cultures and regions
  • Internationalization of applications
  • Localization of applications



Previous_Page_.gif Next_Page_.gif

Personal tools