Skip to content

LDML47-Stable

Latest
Compare
Choose a tag to compare
@aphillips aphillips released this 27 Feb 18:01
0d3f5a5

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-literal from 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.
  • 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 select option on :number and :integer functions now accepts only literal values.
    • Removed the style percent from :number and :integer pending future standardization.
    • The u: namespace options u:id and u:dir are optional; u:locale is Draft.
  • Clarified how to include the character "*" in a key.