Cldr.LanguageTag.parse
You're seeing just the function
parse
, go back to Cldr.LanguageTag module for more information.
Parse a locale name into a t:Cldr.LanguageTag
struct.
Arguments
locale_name
is any valid locale name returned byCldr.known_locale_names/1
Returns
{:ok, language_tag}
or{:error, reason}