Function init

  • The default of the i18next module is an i18next instance ready to be initialized by calling init. You can create additional instances using the createInstance function.

    Parameters

    • Optional callback: Callback

      will be called after all translations were loaded or with an error when failed (in case of using a backend).

      Optional

    Returns Promise<TFunction<"translation", undefined>>

  • Type Parameters

    • T

    Parameters

    Returns Promise<TFunction<"translation", undefined>>

Generated using TypeDoc