Function registerTr

  • Installs the Translate object and configures React.

    Parameters

    • Rest...params: [locale: Locale, transform?: ((str: string) => string), config: Partial<ITranslateConfig>]

      The parameters needed to create a new Translate instance.

    Returns Translate

    The installed Translate object.