| ★ wanayoo — archive 1999 http://ibm.com/java/education/international-unicode/unicode1.html | Nouvelle recherche | Portail wanayoo |
|
|||||||||||||||||||||||||||||||||||||||
The emergence of the Internet and other distributed networks puts increasing importance on the ability to create global software--that is, software that can be developed independently of the countries or languages of intended users--and then translated for multiple countries or regions. IBM's International Classes for Unicode (ICU) C/C++ libraries and the set of classes IBM contributed to recent JDK releases make major steps forward in creating global applications. Both provide frameworks based on the Unicode ä 2.0 character set--the standard for international text--and they provide an architecture for developing global applications, which can present messages, numbers, collation, word break, dates, and currency in any country's conventional formats. However, when all is said and done, it may not be clear just how to go about making your program ready for localization by using the ICU. Our goal is to outline the procedure to accomplish just that for programs written in C, C++ and Java. The discussion also applies to new programs; it is generally much easier to build a global program from the ground, than to go back later and retrofit it. The bulk of the international support in recent JDKs was provided by the Text and International group at Taligent (now part of the IBM Center for Java Technology), with data supplied by IBM's National Language Technical Center (NLTC) in Toronto. At Taligent, the group developed an integrated set of object-oriented frameworks to support the creation of international software, providing a standard API to make handling the requirements of different countries and languages transparent to developers. Benefiting from the experience of designing and implementing these frameworks, the group redesigned them for Java. The very design of the Java language allowed for a simpler API and implementation. This was a cooperative effort with JavaSoft, which participated in reviewing and adapting the APIs the group supplied. This code was then ported back to C++ and C to provide a parallel architecture and API for portable applications. Before diving into the text, we will clarify some notation that we will be using: Display string
Locale
Global application
Some use the abbreviations "i18n" and "l10n" for "internationalization" and "localization"; however, these are needlessly "o5e" (obscure). The JDK 1.1 release implements the Unicode 2.0 character set with the Unicode character database version 2.0.14; for brevity, we will refer to this as Unicode 2.0.14. Note: Unless otherwise noted, our use of the term application should be understood to include applets.
|