API Reference Cldr Messages v#2.0.1

Copy Markdown View Source

Modules

A CLDR/ICU message formatter for mix format plugin.

As of Gettext 0.19, Gettext supports user-defined interpolation modules. This makes it easy to combine the power of ICU message formats with the broad gettext ecosystem and the inbuilt support for gettext in Phoenix.

Gettext interpolation module that supports both ICU MessageFormat v1 and MessageFormat 2 (MF2) messages.

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

Exception raised when interpreting a message and a binding is missing

Exception raised when a value cannot be formatted by the requested MF2 function due to an incompatible type.

Exception raised when parsing an ICU message format

Exception raised when parsing an ICU message format and positional arguments are not permitted

Implements sigil ~M to canonicalize an ICU message.

Implements a parser for the ICU Message format

Interprets a MessageFormat 2 AST and produces formatted output.

NIF wrapper for ICU4C MessageFormat 2.0.

Implements a parser for ICU MessageFormat 2.

Converts a MessageFormat 2 AST back to its canonical string form.