As part of its tasks, the i18n-loader initializes and starts the i18next library. Before doing so, the i18n-loader configures the i18next options, including:
The name of the cookie, in this case
language, that thei18nextlibrary should refer to when determining the current locale. For an anonymous user, thelanguagecookie defaults to English. For a registered user, the cookie defaults to the user’s preferred language, as defined in the user’s profile. The value of the cookie changes if the user chooses a new language in the language picker.The default language to use when the current language cannot be identified. Out of the box, the default language is English.
A template for the path the
i18nextlibrary uses to locate the correct language-specific resource file for the cartridge renderer.

