Service for translating strings into different languages

Hierarchy

  • Translator

Methods

Methods

  • Get a translated string by ID

    Returns

    the translation

    Parameters

    • id: string

      id of the translation

    • Optional params: Record<string, string | number>

      any parameters that the translation might require

    Returns string