MyApp.Cldr.Territory.translate_language_tag-exclamation-mark

You're seeing just the function translate_language_tag-exclamation-mark, go back to MyApp.Cldr.Territory module for more information.
Link to this function

translate_language_tag!(locale_from, options \\ [locale: MyApp.Cldr.get_locale(), style: :standard])

View Source

Specs

translate_language_tag!(Cldr.Territory.tag(), Cldr.Territory.options()) ::
  binary() | no_return()

The same as translate_language_tag/2, but raises an exception if it fails.

Example

iex> MyApp.Cldr.Territory.translate_language_tag!(Cldr.get_locale())
"world"

iex> MyApp.Cldr.Territory.translate_language_tag!(Cldr.get_locale(), [locale: Cldr.Locale.new!("pt", TestBackend.Cldr)])
"Mundo"