Referencei18n
createI18n
Factory that creates framework i18n helpers with custom loading options
Import
createI18n returns an I18nProvider, useTranslator, and useLocale wired to the shared React i18n context used by the stock skins and controls. Use it when you need options such as a custom locale loader. Most apps use the default exports from @videojs/react/i18n.