September 20, 2018
Hot Topics:

Isolating Locale-specific Text in International Java Applications

  • June 9, 2010
  • By Rob Gravelle
  • Send Email »
  • More Articles »

All GUI-based programs display and/or manipulate text in some form or another. Java's Locale object allows you to display and manage data in a way that conforms to the rules of a particular geographical region, but only the formatting of the data, not the content itself because the String and related classes are not locale-sensitive.

To handle the String and related classes in locale-specific applications, Java provides a number of other classes. In his WebReference article, Rob Gravelle explores these classes and the following tasks:

  • Place text in Properties files to separate them from source code
  • Creating Properties files for different locales
  • ResourceBundle naming
  • Using the ListResourceBundle class to work with more complex data types
  • Creating your own ResourceBundle
  • Loading resource bundles with the ResourceBundle.Control class

Read the full story at WebReference:
Isolating Locale-specific Text in International Java Applications

Comment and Contribute


(Maximum characters: 1200). You have characters left.



Enterprise Development Update

Don't miss an article. Subscribe to our newsletter below.

By submitting your information, you agree that developer.com may send you developer offers via email, phone and text message, as well as email offers about other products and services that developer believes may be of interest to you. developer will process your information in accordance with the Quinstreet Privacy Policy.


Thanks for your registration, follow us on our social networks to keep up-to-date