export const SUPPORTED_LANGUAGE_CODES = ['en', 'zh', 'ja'] as const; export type LanguageCode = (typeof SUPPORTED_LANGUAGE_CODES)[number]; export const SUPPORTED_LANGUAGES = [ { code: 'en', label: 'English' }, { code: 'zh', label: '中文' }, { code: 'ja', label: '日本語' }, ] as const; // 命名空间定义 export const NAMESPACES = [ 'common', 'conversation', 'setting', 'menu', 'login', 'dashboard', 'task', 'rate', 'knowledge', 'component', ] as const; export type Namespace = (typeof NAMESPACES)[number];