Java Support for Internationalization

Internationalization required several changes to the Java language. With early versions of the Java language, writing internationalized code required extra effort and was substantially more difficult than writing myopic code. Latest versions of the Java language seek to make writing internationalized code easier than its locale-specific counterpart. Internationalization support mainly comes from the following three packages:

  • java.util— Includes the Locale, TimeZone, and ResourceBundle classes. A Locale class encapsulates certain information about a locale, but does not provide the actual locale-specific operations. Rather, affected methods can now be passed a Locale object as a parameter that will alter their ...

Get Special Edition Using Java 2 Standard Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.