concept resource bundle in category seam

This is an excerpt from Manning's book Seam in Action.
When an application needs to output a message, the proper approach is to have it use a message key rather than use a hard-coded message string. The application then looks up a value for that message key in the active resource bundle for the current user at runtime. Typically, the keys are used to select locale-specific message strings. Examples include labels, date and time patterns, and currency units. Resource bundles also have applications that extend beyond locale, such as theme parameters and deployment environment settings.
Unfortunately, resource bundles are one of the most notoriously tedious, yet disproportionally trivial mechanisms to configure in a web application. That’s because a Java framework just wouldn’t be complete without internationalization (i18n) support. This aspiration has led to a situation where each framework wants to use its own resource bundle and configuration of that bundle for providing i18n messages. As it has done many times, Seam steps in to mop up this mess, giving you an unified map of all the messages contributed by the various frameworks it integrates, making it worth the effort of using i18n messages to your application. In this section, I’ll explain how resource bundles work and show you how Seam makes them more accessible.
Seam follows a consistent approach for providing customization of the UI by using resource bundles. As you learned in section 5.5.2 in chapter 5, Seam aggregates the i18n message bundles under a unified map named messages. When the application logic needs a message to be rendered, it supplies a message key rather than embedding the message string directly in the code. Seam then retrieves the actual message at runtime from the resource bundle, taking note of the user’s preference, whether it be a locale, time zone, or theme. Seam assembles a separate map named theme to support the active theme, prepared using a similar configuration (which is covered later in this section).