Cldr.known_gettext_locale_names
You're seeing just the function
known_gettext_locale_names
, go back to Cldr module for more information.
Specs
known_gettext_locale_names(backend()) :: [Cldr.Locale.locale_name(), ...] | []
Returns a list of GetText locale names but in CLDR format with underscore replaces by hyphen in order to facilitate comparisons with Cldr 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
.