Locales Locale objects are tokens that represent locales. In Java, locales are defined as geographic, political, or cultural regions. To construct a Locale , you must supply a language name because language is the single-most important characteristic of a locale. The API documentation for the java.util.Locale class contains pointers to Web pages with complete lists. Resource Bundles Resource bundles can be used to solve the structuring problem associated with internationalizing internal data.
Resource bundles implement special support for locales.
In particular, the java.util.ResourceBundle class provides methods that search for bundles associated with a particular locale. The BreakIterator class provides a locale-independent way to find the boundaries between certain kinds of textual elements, such as words and sentences. Once again, you don't create instances of BreakIterator with a constructor. The java.text package contains the abstract Format class, which describes a generic facility for formatting and parsing textual data representations. Several subclasses of Format perform internationalized handling of data types such as Date and numeric values, plus messages for users.