O'Reilly logo

JBoss RichFaces 3.3 by Demetrio Filocamo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Internationalization

Internationalization (i18n) is not a RichFaces feature. So, we will briefly describe it, as we are going to support different locales in our application (as for every real, well-made one).

In order to internationalize text strings, we can use message bundles for every language we would like to support; those bundles are normal properties files that contain the localized version of a string message. For example, if we want to write a "Hello World!" string in a different language, we have to define a label (for example, helloWorld) and use it inside the message bundles.

Let's configure our application for i18n and then make an example for changing the menu bar.

Configuration

Our seam-gen project is configured for i18n. In fact, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required