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 Cldr.LangaugeTag struct.

Arguments

Returns

  • {:ok, language_tag} or

  • {:error, reason}