Cldr.known_locale_names
You're seeing just the function
known_locale_names
, go back to Cldr module for more information.
Specs
known_locale_names(backend()) :: [Cldr.Locale.locale_name(), ...] | []
Returns a list of the known locale names.
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
.
Known locales are those locales which
are the subset of all CLDR locales that
have been configured for use either
directly in the config.exs
file or
in Gettext
.