rovalra
    Preparing search index...
    • Asynchronously gets a translation. This is the preferred method as it guarantees the translation resources are loaded before returning a value.

      Parameters

      • key: string

        The translation key.

      • Optionaloptions: object

        i18next options.

      Returns Promise<string>

      The translated string.