Skip to content

Type Alias: AiEnhancerLocale

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

Defined in: packages/ai-enhancer/src/shared/i18n/en.ts:72

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.