Skip to content

Type Alias: AiImageEditorLocale

ts
type AiImageEditorLocale = Record<keyof typeof coreLocale, string> & Partial<Record<keyof typeof errorLocale, string>>;

Defined in: packages/ai-image-editor/src/shared/i18n/en.ts:75

A locale's strings. Core keys are required; the per-error-code messages are optional (they fall back to English / the generic message), so translations can adopt them incrementally without every locale listing every code.