Skip to main content
Inputs accepted by TranslationProvider.

Properties

ReactNode
required
React content that can consume the translation context.
Record<string, unknown>
Active-locale translations published by the merchant.
Record<string, unknown>
required
Theme-provided default-locale translation content.
Optional external translation function. When provided it becomes the highest-priority source: if it returns a non-empty string that differs from the raw key, that value is used; otherwise the internal resolution chain continues.
TranslationStore | null
TranslationStore | null
Type: TranslationStoreOptional store for live design-mode text overrides from the builder.