DWS Packages
    Preparing search index...

    Interface LocalizedMessage

    Localized message carrying translations and interpolation parameters.

    Returned by the factory functions generated by defineMessageCatalog. Pass it to resolveMessage to get the final string for a given locale.

    interface LocalizedMessage {
        defaultLocale: string;
        params?: Readonly<Record<string, string>>;
        translations: Translations;
    }
    Index

    Properties

    defaultLocale: string

    Locale used when no explicit locale is passed to resolveMessage.

    params?: Readonly<Record<string, string>>

    Parameter values to interpolate into {{placeholder}} tokens.

    translations: Translations

    All available translations keyed by locale.