Cldr.Rbnf.for_locale
You're seeing just the function
for_locale
, go back to Cldr.Rbnf module for more information.
Specs
for_locale(Cldr.LanguageTag.t()) :: {:ok, map()} | {:error, {module(), String.t()}}
Returns {:ok, rbnf_rules} for a locale
or {:error, {Cldr.NoRbnf, info}}
locale
is anyt:Cldr.LanguageTag
Specs
for_locale(Cldr.Locale.locale_name() | Cldr.LanguageTag.t(), Cldr.backend()) :: {:ok, map()} | {:error, {module(), String.t()}}
Returns {:ok, rbnf_rules} for a locale
or {:error, {Cldr.NoRbnf, info}}
locale
is any locale name returned byCldr.Rbnf.known_locale_names/1
backend
is any module that includesuse Cldr
and therefore is aCldr
backend module