Localization (natural language support)

The home-grown localization classes such as Numberer_da (for Danish) are no longer shipped with the product. In previous releases they were only used if explicitly requested via the configuration API; by default Saxon-PE and Saxon-EE use the ICU4J library for localization, which is much more comprehensive. The API for registering a home-grown localization class remains available, and the source code for these dropped classes can continue to be integrated if required.

The spellout numbering for words in English now follows the common consensus that numbers in the range 21 to 99 should be hyphenated (for example, "twenty-three"). This usage seems to be followed by both British and American publishers, though exceptions can be found. More questionable is "one hundred and ten" (common in the UK) versus "one hundred ten" (common in the US). By adopting ICU4J, we now delegate responsibility for such decisions.