Skip to content

DEFAULT_LANGUAGE_LOCALES

const DEFAULT_LANGUAGE_LOCALES: Partial<Record<Lang, string>>

Defined in: locales.ts:12

Default browser locale (a BCP 47 tag) for each language used in per-language recording. When a video declares .languages([...]), each per-language pass records with its context locale set from this map so a self-localizing app renders in the matching language. Languages without an explicit entry fall back to the bare language code (Chromium accepts e.g. 'fi').

Override per call with .languages(langs, { locales: { fi: 'fi-FI' } }).