Skip to content

Type Alias: AiImageEditorLocale

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

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

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