Config
Locale
Defines the locales supported and used by the system.
defaultLocale
The system’s default locale.
defaultLocalealso serves as the baseline locale for Intor during locale resolution and tooling operations (such as the CLI).
defineIntorConfig({ defaultLocale: "en", });
supportedLocales
The list of locales explicitly supported by the system.
defineIntorConfig({ supportedLocales: ["en", "fr"], });
fallbackLocales
Defines the locale mapping rules for fallback resolution.
The fallback locale list for each locale is ordered.
Using the string
"default"infallbackLocalesrepresents the locale specified bydefaultLocale.
defineIntorConfig({ fallbackLocales: { en: ["de", "fr"], // → ["de", "fr"] de: ["default"], // → defaultLocale }, });