Cldr.Unit.display_name

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

display_name(unit, options \\ [])

View Source

Returns the localized display name for a unit.

The returned text is generally suitable for including in UI elements such as selection boxes.

Arguments

Options

Examples

iex> Cldr.Unit.display_name :liter
"liters"

iex> Cldr.Unit.display_name :liter, locale: "fr"
"litres"

iex> Cldr.Unit.display_name :liter, locale: "fr", style: :short
"l"