Function initLocale

Source
initLocale<TLocale extends string>(
    options: LocaleOptions<TLocale>,
): Promise<void>

Initialize locale system in Pure and connect it with I18next

This function calls initLocale internally, so you don't need to do that yourself.