LDML47-Stable
LDML47 is the first stable release of the MessageFormat specification.
Changes in this release (from 46.1) include:
- Made MessageFormat stable and made the stability policy normative.
- Added or clarified terminology:
- Linked all terminology in the MessageFormat section to the term's definition.
- Defined option value, literal key, string value, and digit size option formally. Other definitions were defined or modified for clarity.
- Replaced the concept of a "function registry" with default functions and
u:namespace functions and options. - Changed the data model to be called the "Interchange Data Model"
- Modified portions of the syntax (ABNF)
- Removed
number-literalfrom the ABNF and moved its definition to the default functions for numeric formatting. - Changed (expanded) the range of characters allowed in an unquoted literal and simplified syntax character set definitions.
- Removed
- Revised the Default Bidi Strategy.
- Enabled functions to know whether an option value was set using a literal or a variable, which is necessary for some function's selection mechanism (see below).
- Updated the default functions:
- Only three default functions are stable:
:string,:number, and:integer. Other functions are Draft. - Some options have been removed, modified, or made optional.
- The
selectoption on:numberand:integerfunctions now accepts only literal values. - Removed the
stylepercentfrom:numberand:integerpending future standardization. - The
u:namespace optionsu:idandu:dirare optional;u:localeis Draft.
- Only three default functions are stable:
- Clarified how to include the character "*" in a key.