export type Locale = 'en' | 'sv' | 'ur' | 'ar' | 'fa' | 'tr';

export const LOCALES: { code: Locale; label: string; nativeLabel: string }[] = [
  { code: 'sv', label: 'Swedish', nativeLabel: 'Svenska' },
  { code: 'en', label: 'English', nativeLabel: 'English' },
  { code: 'ur', label: 'Urdu', nativeLabel: 'اردو' },
  { code: 'ar', label: 'Arabic', nativeLabel: 'العربية' },
  { code: 'fa', label: 'Persian', nativeLabel: 'فارسی' },
  { code: 'tr', label: 'Turkish', nativeLabel: 'Türkçe' },
];

export const DEFAULT_LOCALE: Locale = 'sv';

export interface TranslationDict {
  [key: string]: string | TranslationDict;
}