Cldr.Number.Format.format_system_names_for
You're seeing just the function
format_system_names_for
, go back to Cldr.Number.Format module for more information.
Specs
format_system_names_for( Cldr.LanguageTag.t() | Cldr.Locale.locale_name(), Cldr.backend() ) :: {:ok, [atom()]} | {:error, {module(), String.t()}}
Returns the names of the number systems for the locale
.
Arguments
locale
is any valid locale name returned byCldr.known_locale_names/1
or aCldr.LanguageTag
struct returned byCldr.Locale.new!/2
. The default isCldr.get_locale/1
backend
is anyCldr
backend. That is, any module that containsuse Cldr
Examples
iex> Cldr.Number.Format.format_system_names_for("th", MyApp.Cldr)
{:ok, [:latn, :thai]}
iex> Cldr.Number.Format.format_system_names_for("pl", MyApp.Cldr)
{:ok, [:latn]}