// 支持的语言类型
export type Language = 'en' | 'zh-TW' ; // 可根据需要扩展

// 语言配置
export interface LanguageConfig {
  code: Language;
  name: string;
  nativeName: string;
  value: boolean;
}

export const SUPPORTED_LANGUAGES: LanguageConfig[] = [
  { code: 'en', name: 'English', nativeName: 'English', value: false },
  { code: 'zh-TW', name: 'Chinese', nativeName: '中文', value: true },
];

// 默认命名空间
export const defaultNS = 'translation' as const;

// 区域设置类型
export interface Locale {
  languageCode: Language;
  languageTag: string;
  regionCode?: string;
  currencyCode?: string;
  currencySymbol?: string;
  decimalSeparator?: string;
  digitGroupingSeparator?: string;
  textDirection: 'ltr' | 'rtl';
  measurementSystem: 'metric' | 'us';
  temperatureUnit: 'celsius' | 'fahrenheit';
}