Referencei18n
media-i18n
HTML custom element that resolves locale and supplies translations to descendants
Import
One import registers both <media-i18n> and <media-text>.
<media-i18n> applies the i18n provider mixin to a subtree. Wrap a player, standalone controls, or one of several players that need different locales with this element. Without it, HTML controls use English defaults.
Set lang on the provider or an ancestor. Built-in packs lazy-load automatically; register locale strings with registerI18n when you need custom copy or synchronous first paint. See Translation phrases for supported keys.
Attributes
Related
<media-text>: Renders translated text content- Internationalize the player