Message Formatting
MessageFormat, ChoiceFormat
- Put together sequences of strings, numbers,
dates, and other formats to create messages.
- Facilitate localization because they:
-- prevent hard-coding of message strings
-- prevent hard-coding of the concatenation
- Enables localizers to change the content, format,
and order of any text as appropriate for any language.
- Choice formats let localizers create more natural messages,
avoiding phrases like "3 file(s)".
formatting