Cldr.requested_locale_names
You're seeing just the function
requested_locale_names
, go back to Cldr module for more information.
Specs
requested_locale_names(backend()) :: [Cldr.Locale.locale_name(), ...] | []
Returns a list of all requested 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
.
The list is the combination of configured locales,
Gettext
locales and the default locale.
See also known_locales/1
and all_locales/0