useBrowserLanguageDetector
fun I18n.useBrowserLanguageDetector(configurationBuilder: BrowserLanguageDetectorConfiguration.() -> Unit = {}): I18n
Integrates the i18next
instance with the browser language detector.
This extension function allows the i18next
instance to use the i18next-browser-languagedetector
plugin. It enables automatic detection of the user's preferred language based on the browser's settings.
Receiver
The I18n instance to which the browser language detector will be added.
Return
The I18n instance for chaining.
Parameters
configurationBuilder
lambda that is used to configure the language detector plugin.