Cldr version 2.8.0
Enhancements
-
Adds
Cldr.validate_plural_type/1
which will validate if a plural type is one those returned byCldr.Number.PluralRule.known_plural_types/0
which is also added. These functions are added to support message formatting in the forthcomingex_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 usingnimble_parsec
version 0.5.1 or later if running dialyzer checks.