init(callback?: Callback): Promise
The default export 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
callback?: Callback
will be called after all translations were loaded or with an error when failed (in case of using a backend).