Abstract
Jakarta Faces has always had decent internationalization support. Since Jakarta Faces 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 Jakarta Faces converters and validators have their own set of localized default messages which you can easily customize via a message bundle or, since Jakarta Faces 1.2, via new requiredMessage, converterMessage, and validatorMessage attributes. Jakarta Faces 2.0 adds, via the new jakarta.faces.application.ResourceHandler, API (application programing interface) support for localizable assets such as stylesheets, scripts, and images.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature
About this chapter
Cite this chapter
Scholtz, B., Tijms, A. (2022). Localization. In: The Definitive Guide to Jakarta Faces in Jakarta EE 10. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-7310-4_14
Download citation
DOI: https://doi.org/10.1007/978-1-4842-7310-4_14
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-7309-8
Online ISBN: 978-1-4842-7310-4
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)