Internationalizing an application can be an important stage of application development if you plan to release your application into a multilingual territory.
Internationalizing an application involves three key stages, all of which are fully supported by Seam and JSF/Facelets.
Defining which languages your application is available in.
Writing application-specific strings in different languages.
Displaying the appropriate language strings in a web page.
Note
It is usually a lot easier to internationalize your application from the start rather than having to retrospectively fit internationalized strings at a later date.
The languages that we wish to have our application deployed into must be defined within the <locale-config />
section of the WEB-INF/faces-config.xml
file.
Within the WEB-INF/faces-config.xml
file, we can specify which languages the application is available in by using the <supported-locale/>
element.
<supported-locale...