© Bauke Scholtz, Arjan Tijms 2018
Bauke Scholtz and Arjan TijmsThe Definitive Guide to JSF in Java EE 8https://doi.org/10.1007/978-1-4842-3387-0_14

14. Localization

Bauke Scholtz1  and Arjan Tijms2
(1)
Willemstad, Curaçao
(2)
Amsterdam, Noord-Holland, The Netherlands
 

JSF has always had decent internationalization support. Since JSF 1.0 you can supply java.util.ResourceBundle-based bundle files in different locales, which in turn get dynamically included as text in the web page at the declared places. Also, all JSF converters and validators have their own set of localized default messages which you can easily customize via a message bundle or, since JSF 1.2, via new requiredMessage, converterMessage, and validatorMessage attributes. JSF 2.0 adds, via ...

Get The Definitive Guide to JSF in Java EE 8: Building Web Applications with JavaServer Faces now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.