Cldr.Currency.strings_for_currency

You're seeing just the function strings_for_currency, go back to Cldr.Currency module for more information.
Link to this function

strings_for_currency(currency, locale, backend)

View Source

Returns the strings associated with a currency in a given locale.

Arguments

Returns

  • A list of strings or

  • {:error, {exception, reason}}

Example

iex> Cldr.Currency.strings_for_currency :AUD, "en", MyApp.Cldr
["a$", "australian dollars", "aud", "australian dollar"]

iex> Cldr.Currency.strings_for_currency :AUD, "de", MyApp.Cldr
["australische dollar", "australischer dollar", "au$", "aud"]

iex> Cldr.Currency.strings_for_currency :AUD, "zh", MyApp.Cldr
["澳大利亚元", "au$", "aud"]