initInternal

fun initInternal(configuration: dynamic, callback: (dynamic, dynamic) -> Unit = definedExternally): Promise<TranslationFunction>

Deprecated

Use init instead as it is type-safe

Replace with

init()

Initializes the i18next instance with the given configuration.

Deprecated: Use init instead for type-safe configuration.

Return

A Promise resolving to the TranslationFunction.

Parameters

configuration

The dynamic configuration object.

callback

Optional callback function executed after initialization.