Referencei18n
I18nProvider
React provider that resolves locale and supplies a typed translator to descendants
Import
I18nProvider resolves the active locale, lazy-loads built-in packs, merges registry and provider layers, and exposes a translator through context. Wrap it around a player or custom controls that should translate.
Wrap custom controls or force a locale explicitly:
Omit locale to inherit the nearest lang attribute (via langRootRef or <html lang>). English is the fallback when no non-English locale is active or no translation layer supplies a string. See Internationalize the player for merge priority, browser translation fallback, and SSR guidance.