Skip to main content

Function: computeFallbacks()

function computeFallbacks(locale, settings): string[];

Defined in: packages/core/src/i18n/locale.ts:279

Resolution chain for locale (docs/13 §2): parent truncations, then the other regions of the same language in settings.locales order, then settings.defaultLocale. The active locale itself is not repeated.

Parameters

ParameterType
localestring
settingsFormSettings

Returns

string[]