Cldr.Config.default_locale_name
You're seeing just the function
default_locale_name
, go back to Cldr.Config module for more information.
Specs
default_locale_name(t() | map()) :: Cldr.Locale.locale_name()
Return the default locale name for a given backend configuration.
In order of priority return either:
- The default locale for a given backend configuration
- The global default locale speficied in
mix.exs
under theex_cldr
key - The
Gettext.get_locale/1
for the current configuration - The system-wide default locale which is currently "en-001"