init

fun I18n.init(configurationBuilder: I18nConfiguration.() -> Unit): Promise<TranslationFunction>

Initializes the i18next instance with a type-safe configuration.

Return

A Promise resolving to the TranslationFunction.

Parameters

configurationBuilder

A lambda to configure I18nConfiguration.