Internationalizing a Web site is easier when text messages are not stored directly in code. Java provides the ResourceBundle mechanism for the separation of messages from Java code. A ResourceBundle is a Dictionary of keys that map to specific text messages.

Most Web sites have two types of text messages: user messages, which are displayed to site visitors, and developer messages, which are visible to developers only (for example, error logs). To internationalize your Web site, you should create separate ResourceBundles for user and developer messages. (Often, localization teams do not translate developer messages, so it is helpful for people who are localizing your site if you keep the two types of message separate.)

The ATG Control Center also uses ResourceBundles to store text for user interface display.

For more information, refer to Using ResourceBundles for Internationalization.

 
loading table of contents...