Locale and formatting metadata for this message.
Unique key that identifies this message within a resource.
Notes attached to this message for translators and tooling.
The message string, possibly in MessageFormat syntax.
Formats the message with the given placeholder data.
For NONE format messages, returns the raw value unchanged.
Optionaloptions: MessageFormatOptions<never, never>Formats the message into structured parts with the given placeholder data.
For NONE format messages, returns a single text part with the raw value.
Optionaloptions: MessageFormatOptions<never, never>Returns a plain data object for this message.
When true, notes are omitted from the result.
Serializes this message to a formatted JSON string.
When true, notes are omitted from the serialized data.
Returns the message value as a string.
Staticcreate
A single localizable message with a key, value, attributes, and notes.
Supports MessageFormat 1, MessageFormat 2, and unformatted (
NONE) strings.