I have published ex_cldr version 2.32.1 with a change to the error message and no longer using IO.warn/2
. The changelog entry reads:
Bug Fixes
- Don’t use
IO.warn/2
when compiling a backend and a known Gettext locale can’t be matched to a Cldr locale.IO.warn/2
will cause errors if the compilation settingwarnings_as_errors: true
is set. Instead, these messages will be output as a “note” that does not trigger warnings. In addition the error message has been improved to make clear that although the Gettext locale has no Cldr equivalent, it will still be matched at runtime. See the conversation at https://elixirforum.com/t/bridging-locale-name-differences-between-ex-cldr-gettext. Thanks to @lenards for the report.