Used for the localization of strings.

Hierarchy

  • Translator

Methods

T

  • T(str: string): string
  • The method returns the translation of a string based on the user’s locale.

    Parameters

    • str: string

    Returns string

    Translation of the string.