LanguageConfiguration

Represents the configuration for a specific language in i18next.

This class allows to define multiple namespaces and their translations for a particular language using a Kotlin DSL.

Functions

Link copied to clipboard
fun ns(namespaceName: String, namespaceBuilder: TranslationConfiguration.() -> Unit)

Adds a namespace and its translations to the language configuration.