Link Search Menu Expand Document

icu-messageformat-1 package

Functions

Function Description
compileMF1Message(source, locale, { strict, …opt }) <p>(BETA) Compile an ICU MessageFormat 1 message into a MessageFormat instance.</p><p>A runtime provided by getMF1Runtime is automatically used in these instances.</p>
compileMF1MessageData(src, locale, { strict }) (BETA) Compile an ICU MessageFormat 1 message into a Message data object.

Variables

Variable Description
getMF1Runtime <p>(BETA) Build a MessageFormat runtime to use with ICU MessageFormat 1 messages.</p><p>The structure of this runtime and the options available for its formatters follow the MF1 specifications, rather than being based on the MF2 default runtime.</p>

Type Aliases

Type Alias Description
MF1Options (BETA)