HybridForms API
    Preparing search index...

    Class TranslationService

    Static properties and methods related to the form translation service.

    Index

    Constructors

    Methods

    • Get list of translation keys for a formdefinition

      Parameters

      • formID: string

      Returns Promise<string[]>

      string

    • Checks whether a given string is a translation key. A translation key is a string that starts with '{{@' and ends with '}}'.

      Parameters

      • key: string

        The string to check.

      Returns boolean

      True if the string is a translation key, false otherwise.

    • Get translation from form translation key

      Parameters

      • key: string

      Returns string

      string