Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "src/methods/__"

Index

Functions

Functions

__

  • __(phraseOrParams: string | TemplateStringsArray | I18nParams, ...values: any[]): string
  • Translates a single phrase and adds it to locales if unknown.

    Parameters

    • phraseOrParams: string | TemplateStringsArray | I18nParams

      Phrase to translate or params.

    • Rest ...values: any[]

      Values to print.

    Returns string

    Translated parsed and substituted string.

Generated using TypeDoc