Wednesday, July 14, 2010

Java Internationalization

nternationalization is the process of designing software so that it can be adapted (localized) to various languages and regions easily, cost-effectively, and in particular without engineering changes to the software. Localization is performed by simply adding locale-specific components, such as translated text, data describing locale-specific behavior, fonts, and input methods.

In the Java SE Platform, internationalization support is fully integrated into the classes and packages that provide language- or culture-dependent functionality. The following sections outline the most important internationalized areas of functionality in core, desktop, enterprise, and mobile Java.
Core Java Internationalization

Core Java provides the foundation for internationalization of desktop and server applications.

* Text representation: the Java programming language is based on the Unicode character set, and several libraries implement the Unicode standard.
* Locale identification and localization: Locales in the Java SE platform are just identifiers that can be used to request locale specific behavior in many different areas of functionality. Localization is supported at the most basic level by the ResourceBundle class, which provides access to locale specific objects, including strings.
* Date and time handling: The Java SE platform provides various calendars, and supports conversion to and from calendar independent Date objects. All time zones in the world are supported.
* Text processing includes character analysis and case mapping, string comparison, breaking text into words and lines, as well as formatting numbers, dates, and time values into strings or parsing them back from strings. Most of these functions are locale dependent.
* Character encoding conversion supports converting text between Unicode and other character encodings when reading incoming text from streams or writing outgoing text to streams.

SOURCE:http://java.sun.com/javase/technologies/core/basic/intl/

No comments:

Post a Comment