Lime Web Components API Documentation - v6.24.0
    Preparing search index...

    Interface Translator

    Service for translating strings into different languages

    interface Translator {
        get(
            id: string,
            params?: Record<string, string | number | undefined>,
        ): string;
    }
    Index

    Methods

    Methods

    • Get a translated string by ID

      Parameters

      • id: string

        id of the translation

      • Optionalparams: Record<string, string | number | undefined>

        any parameters that the translation might require

      Returns string

      the translation