Backstage
    Preparing search index...

    Interface TranslationMessages<TId, TMessages, TFull>

    Represents a collection of messages to be provided for a given translation ref.

    This collection of messages can either be used directly as an override for the default messages, or it can be used to provide translations for a language by by being referenced by a TranslationResource.

    interface TranslationMessages<
        TId extends string = string,
        TMessages extends { [key in string]: string } = { [key in string]: string },
        TFull extends boolean = boolean,
    > {
        $$type: "@backstage/TranslationMessages";
        full: TFull;
        id: TId;
        messages: TMessages;
    }

    Type Parameters

    • TId extends string = string
    • TMessages extends { [key in string]: string } = { [key in string]: string }
    • TFull extends boolean = boolean
    Index

    Properties

    Properties

    $$type: "@backstage/TranslationMessages"
    full: TFull

    Whether or not these messages override all known messages

    id: TId

    The ID of the translation ref that these messages are for

    messages: TMessages

    The messages provided for the given translation ref