Function t

Function to translate texts.

  • Parameters

    • text: string

      The text to translate.

    • Optionalcontext: string

      The context of the text.

    Returns string

    The translated text.