Skip to content

Cldr version 2.8.0

Compare
Choose a tag to compare
@kipcole9 kipcole9 released this 20 Aug 21:58

Enhancements

  • Adds Cldr.validate_plural_type/1 which will validate if a plural type is one those returned by Cldr.Number.PluralRule.known_plural_types/0 which is also added. These functions are added to support message formatting in the forthcoming ex_cldr_messages package.

  • Adds Cldr.Number.PluralRule.plural_type/2 which returns the plural type for a number.

  • Adds message_formats backend configuration key. This is used by ex_cldr_messages to define custom formats for messages.

Bug Fixes

  • Add @spec to parser combinators to remove dialyzer warnings. Ensure that you are using nimble_parsec version 0.5.1 or later if running dialyzer checks.