Format a parsed ICU Message into a String, using the
browser Intl
API (via anmolitor/intl-proxy)
for locale-correct plural selection and number/date formatting.
You obtain the Intl value once at startup by decoding a flag with
Intl.decode,
passing window.Intl in through JavaScript.
Like format, but takes the argument dictionary directly. Useful
for generated code that already has a Dict String Value.
A collection of named argument values to substitute into a message. Build
one with args and the value helpers.
An empty argument set to pipe values into.
Icu.Format.args
|> Icu.Format.string "name" "Alice"
|> Icu.Format.int "count" 3
Format a message for a locale with the given arguments.