# `Cldr.LanguageTag.Parser`
[🔗](https://github.com/elixir-cldr/cldr/blob/v2.47.4/lib/cldr/language_tag/parser.ex#L1)

Parses a CLDR language tag (also referred to as locale string).

The applicable specification is from [CLDR](http://unicode.org/reports/tr35/#Unicode_Language_and_Locale_Identifiers)
which is similar based upon [RFC5646](https://tools.ietf.org/html/rfc5646) with some variations.

# `normalize_field`

# `parse`

Parse a locale name into a `t:Cldr.LanguageTag`

* `locale_name` is a string representation of a language tag
  as defined by [RFC5646](https://tools.ietf.org/html/rfc5646).

Returns

* `{:ok, language_tag}` or

* `{:error, reasons}`

# `parse!`

Parse a locale name into a `t:Cldr.LanguageTag`

* `locale_name` is a string representation of a language tag
  as defined by [RFC5646](https://tools.ietf.org/html/rfc5646).

Returns

* `language_tag` or

* raises an exception

---

*Consult [api-reference.md](api-reference.md) for complete listing*
