Cldr.unknown_locale_names
You're seeing just the function
unknown_locale_names
, go back to Cldr module for more information.
Specs
unknown_locale_names(backend()) :: [Cldr.Locale.locale_name(), ...] | []
Returns a list of the locales names that are configured, but not known in CLDR.
Arguments
backend
is any module that includesuse Cldr
and therefore is aCldr
backend module. The default isCldr.default_backend/0
. Note thatCldr.default_backend/0
will raise an exception if no:default_backend
is configured under the:ex_cldr
key inconfig.exs
.
Since there is a compile-time exception raise if there are any unknown locales this function should always return an empty list.