Chapter 11. Understanding internationalization

This chapter covers

  • Internationalizing your applications
  • Reading messages from properties files
  • Localizing your messages
  • Setting and overriding the locale

In the previous chapter, we learned how to refine our Struts 2 applications by upgrading their validation to the validation framework. Now we’ll learn how to refine our application even further. Internationalization represents, in some aspects, the finest finishing touches that you can put on a web application. Many people like to separate the topic of this chapter into two concepts, internationalization and localization. Many people also like to shorten these cumbersome words to the numeronyms i18n and l10n.

While the semantic differences between ...

Get Struts 2 in Action 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.