Cldr.Locale.canonical_language_tag-exclamation-mark
You're seeing just the function
canonical_language_tag-exclamation-mark
, go back to Cldr.Locale module for more information.
Specs
canonical_language_tag!(locale_name() | Cldr.LanguageTag.t(), Cldr.backend()) :: Cldr.LanguageTag.t() | none()
Parses a locale name and returns a Cldr.LanguageTag
struct
that represents a locale or raises on error.
Arguments
language_tag
is any language tag returned byCldr.Locale.new/2
or anylocale_name
returned byCldr.known_locale_names/1
backend
is any module that includesuse Cldr
and therefore is aCldr
backend module
See Cldr.Locale.canonical_language_tag/2
for more information.