Localization and Internationalization

suggest change

Remarks

Java comes with a powerful and flexible mechanism for localizing your applications, but it’s also easy to misuse and wind up with a program that disregards or mangles the user’s locale, and therefore how they expect your program to behave.

Your users will expect to see data localized to the formats they’re used to, and attempting to support this manually is a fools errand. Here is just a small example of the different ways users expect to see content you might assume is “always” displayed a certain way:

| Dates | Numbers | Local Currency | Foreign Currency | Distances | —— | —–– | –––– | ––––––– | –––––––– | ——— | Brazil | | | | | | China | | | | | | Egypt | | | | | | Mexico | 20/3/16 | 1.234,56 | $1,000.50 | 1,000.50 USD | | UK | 20/3/16 | 1,234.56 | £1,000.50 | | 100 km | USA | 3/20/16 | 1,234.56 | $1,000.50 | 1,000.50 MXN | 60 mi |

General Resources

Java Resources

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


Localization and Internationalization:
* Localization and Internationalization
* Locale

Table Of Contents
8 Arrays
10 Maps
11 Strings
25 JAXB
29 Enums
32 Audio
41 Scanner
63 Logging
75 Lists
78 Sets
88 Localization and Internationalization
89 JAX-WS
96 XJC
98 Process
106 Modules
114 Applets
122 JNDI
139 JavaBean
141 Literals
144 Packages
150 JMX
153 JShell
159 Sockets
167 Enum Map
175 Hashtable
177 SortedMap