Function i18nCoreInit

  • Initialize internationalization.

    Parameters

    • i18next: i18n

      Internationalization object. As multiple objects exists, this parameter represents the one for the module for which internationalization is being initialized.

    • environment: I18NEnvironment

      Environment in which the application is running.

    • debug: boolean

      Debug setting.

    • defaultNS: string

      Default namespace.

    • ...resources: Resource[]

      Resources.

    Returns Promise<void>

    Void promise.