diff --git a/src/locales/config.ts b/src/locales/config.ts index c9aecbb0..89cc553b 100644 --- a/src/locales/config.ts +++ b/src/locales/config.ts @@ -1,5 +1,9 @@ /** * Locale configuration for supported languages and regions + * + * IMPORTANT: This is the single source of truth for supported languages. + * Any language not in this list will be rejected by the translation manager + * and fall back to English. This prevents path traversal attacks via dynamic imports. */ import type { LocaleConfig, LanguageCode, RegionCode } from './types';