With the Java programming language, it is possible to internationalize and localize your programs. Internationalization is the process of designing an application so it can be adapted to various languages and regions without engineering changes. Localization is the process of adapting software for a specific region or language by adding locale-specific components and translating text.
Localedefinitions a locale-sensitive class recognizes by returning the language and country codes in a string format. For more information, see The Java Tutorial Continued: Internationalization.