Chapter 7

The Localization Module

Localization, or L10n for short, is extremely important for mobile applications, as their users expect them to be as friendly and as intuitive to use as possible. Having the application running in the user's own language and with the user's own locale-specific settings is thus crucial.

At its heart, localization simply involves having separate versions of certain strings for each locale you want your application to support. These strings can be displayed directly to the user, as is the case with command names and button labels, or they can contain metadata—for example, the proper date format or currency symbol to be used for a given locale.

In this chapter, we will discuss the main options available for Java ...

Get Pro Java ME Apps 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.