Skip to content

resolveUiLocale()

function resolveUiLocale(locale?, overrides?): ResolvedUiLocale;

Resolves the uiLocale and labels props of the viewer and designer. Unknown codes fall back to English; overrides win over the locale.

Parameter Type
locale? string | UiLocale | null
overrides? Partial<Labels>

ResolvedUiLocale