Skip to main content

Interface: TranslationsOptions

Defined in: src/lib/i18n/index.ts:182

Options for translations

Properties​

fallback?​

optional fallback?: string

Defined in: src/lib/i18n/index.ts:186

Locale used when no other matches (default FALLBACK_LOCALE)


fallbackStrings?​

optional fallbackStrings?: Strings

Defined in: src/lib/i18n/index.ts:188

The fallback locale's strings, available straight away (default: PaintCanvas's US English)


locales?​

optional locales?: Record<string, LocaleLoader>

Defined in: src/lib/i18n/index.ts:184

Locales that can be used, and how to load each (default: all the locales that come with PaintCanvas)