Cldr Messages v0.4.0 Cldr.Message View Source

Implements the ICU Message Format with functions to parse and interpolate messages.

Link to this section Summary

Link to this section Types

Link to this type

arguments()

View Source
arguments() :: list() | map()

Link to this section Functions

Link to this function

format(message, args \\ [], options \\ [])

View Source
format(String.t(), arguments(), options()) ::
  {:ok, String.t()} | {:error, {module(), String.t()}}
Link to this function

format!(message, args \\ [], options \\ [])

View Source
format!(String.t(), arguments(), options()) :: String.t() | no_return()
Link to this function

format_list(message, args \\ [], options \\ [])

View Source
format_list(list() | tuple(), arguments(), options()) :: list() | no_return()

Formats an ICU message into an iolist