'English', 'zh' => '中文 (简体)', 'hi' => 'हिन्दी', 'es' => 'Español', 'fr' => 'Français', 'ar' => 'العربية', 'bn' => 'বাংলা', 'ru' => 'Русский', 'pt' => 'Português', 'ur' => 'اردو', 'de' => 'Deutsch', 'nl' => 'Nederlands' ); } function a11y_enhancer_get_flag_mappings() { return array( 'en' => 'us', 'zh' => 'cn', 'hi' => 'in', 'es' => 'es', 'fr' => 'fr', 'ar' => 'sa', 'bn' => 'bd', 'ru' => 'ru', 'pt' => 'pt', 'ur' => 'pk', 'de' => 'de', 'nl' => 'nl' ); } function a11y_enhancer_get_translations($lang = 'en') { // Log requested language for debugging error_log('A11y Enhancer: Requested language - ' . $lang); // Define base translations in English $base_translations = array( 'header-logo' => 'Accessibility', 'vision' => 'Vision', 'profiles' => 'Profiles', 'navigation' => 'Navigation', 'font-size' => 'Font Size', 'high-contrast' => 'High Contrast', 'grayscale' => 'Grayscale', 'text-to-speech' => 'Text to Speech', 'underline-links' => 'Underline Links', 'highlight-links' => 'Highlight Links', 'deuteranomaly' => 'Deuteranomaly', 'protanomaly' => 'Protanomaly', 'tritanomaly' => 'Tritanomaly', 'blindness' => 'Blindness', 'epilepsy-safe' => 'Epilepsy Safe', 'reduce-motion' => 'Reduce Motion', 'pause-animations' => 'Pause Animations', 'large-cursor' => 'Large Cursor', 'visible-focus' => 'Visible Focus', 'letter-spacing' => 'Letter Spacing', 'simplify-layout' => 'Simplify Layout', 'Bottom Right' => 'Bottom Right', 'Bottom Left' => 'Bottom Left', 'General Settings' => 'General Settings', 'License Key' => 'License Key', 'Styles Settings' => 'Styles Settings', 'Widget Features' => 'Widget Features', 'Text' => 'Text', 'Contrast' => 'Contrast', 'Spacing' => 'Spacing', 'Links' => 'Links', 'Motion' => 'Motion', 'Extras' => 'Extras', 'pro_promo' => 'Go Pro - $19/year', 'pro_promo_aria' => 'Upgrade to Pro for advanced accessibility features for $19/year', 'footer_text' => 'Enhancing accessibility for everyone.', 'hold_info' => 'Hold buttons for advanced features.', 'onboarding_tip' => 'Tip: Hold buttons for bonus features! Try it now.', 'Got it' => 'Got it!', 'Reset' => 'Reset', 'Close' => 'Close', 'Show Descriptions' => 'Show Descriptions', 'Leave a Review' => 'Leave a Review', 'Dismiss' => 'Dismiss', 'I’ve Already Reviewed' => 'I’ve Already Reviewed', 'Powered by' => 'Powered by', 'dyslexia-font' => 'Dyslexia font enabled. Site now uses reader-friendly font.', 'text-selection-speech' => 'Speak Selected Text', 'keyboard-shortcuts' => 'Keyboard Shortcuts', // New button labels 'Clarity' => 'Clarity', 'Focus' => 'Focus', 'Soothe' => 'Soothe', 'Superhero' => 'Superhero', 'Chill' => 'Chill', 'Joy' => 'Joy', 'Joy Burst' => 'Joy Burst', 'Joy Burst Locked' => 'Joy Burst Locked (Tweet to unlock!)' ); // Initialize translations array $translations = array(); $names = a11y_enhancer_get_all_languages(); foreach ($names as $code => $name) { $translations['en']['language-' . $code] = $name; } // English (base) $translations['en'] = $base_translations; // Chinese (Simplified) $translations['zh'] = array( 'header-logo' => '无障碍', 'vision' => '视觉', 'profiles' => '配置文件', 'navigation' => '导航', 'font-size' => '字体大小', 'high-contrast' => '高对比度', 'grayscale' => '灰度', 'text-to-speech' => '文本转语音', 'underline-links' => '下划线链接', 'highlight-links' => '突出链接', 'deuteranomaly' => '绿色盲', 'protanomaly' => '红色盲', 'tritanomaly' => '蓝色盲', 'blindness' => '盲', 'epilepsy-safe' => '癫痫安全', 'reduce-motion' => '减少运动', 'pause-animations' => '暂停动画', 'large-cursor' => '大光标', 'visible-focus' => '可见焦点', 'letter-spacing' => '字母间距', 'simplify-layout' => '简化布局', 'Bottom Right' => '右下', 'Bottom Left' => '左下', 'General Settings' => '常规设置', 'License Key' => '许可证密钥', 'Styles Settings' => '样式设置', 'Widget Features' => '小部件功能', 'Text' => '文本', 'Contrast' => '对比度', 'Spacing' => '间距', 'Links' => '链接', 'Motion' => '运动', 'Extras' => '额外功能', 'pro_promo' => '升级专业版 - $19/年', 'pro_promo_aria' => '升级到专业版,享受高级无障碍功能,$19/年', 'footer_text' => '为所有人提升无障碍体验。', 'hold_info' => '长按按钮以使用高级功能。', 'onboarding_tip' => '提示:长按按钮可使用额外功能!立即尝试。', 'Got it' => '明白了!', 'Reset' => '重置', 'Close' => '关闭', 'Show Descriptions' => '显示描述', 'Leave a Review' => '留下评论', 'Dismiss' => '关闭', 'I’ve Already Reviewed' => '我已评论', 'Powered by' => '由', 'dyslexia-font' => '启用阅读障碍字体。网站现在使用易读字体。', 'text-selection-speech' => '朗读选中文本', 'keyboard-shortcuts' => '键盘快捷键', // New button labels 'Clarity' => '清晰度', 'Focus' => '焦点', 'Soothe' => '舒缓', 'Superhero' => '超级英雄', 'Chill' => '放松', 'Joy' => '欢乐', 'Joy Burst' => '欢乐爆发', 'Joy Burst Locked' => '欢乐爆发已锁定(发推解锁!)' ); // Hindi $translations['hi'] = array( 'header-logo' => 'पहुँच', 'vision' => 'दृष्टि', 'profiles' => 'प्रोफाइल', 'navigation' => 'नेविगेशन', 'font-size' => 'फॉन्ट आकार', 'high-contrast' => 'उच्च कंट्रास्ट', 'grayscale' => 'ग्रेस्केल', 'text-to-speech' => 'पाठ से वाक्', 'underline-links' => 'लिंक को रेखांकित करें', 'highlight-links' => 'लिंक हाइलाइट करें', 'deuteranomaly' => 'ड्यूटेरोनोमली', 'protanomaly' => 'प्रोटानोमली', 'tritanomaly' => 'ट्रिटानोमली', 'blindness' => 'अंधापन', 'epilepsy-safe' => 'मिर्गी सुरक्षित', 'reduce-motion' => 'गति कम करें', 'pause-animations' => 'एनीमेशन रोकें', 'large-cursor' => 'बड़ा कर्सर', 'visible-focus' => 'दृश्यमान फोकस', 'letter-spacing' => 'अक्षर अंतर', 'simplify-layout' => 'लेआउट सरल करें', 'Bottom Right' => 'नीचे दाएं', 'Bottom Left' => 'नीचे बाएं', 'General Settings' => 'सामान्य सेटिंग्स', 'License Key' => 'लाइसेंस कुंजी', 'Styles Settings' => 'शैली सेटिंग्स', 'Widget Features' => 'विजेट सुविधाएँ', 'Text' => 'पाठ', 'Contrast' => 'कंट्रास्ट', 'Spacing' => 'अंतर', 'Links' => 'लिंक', 'Motion' => 'गति', 'Extras' => 'अतिरिक्त', 'pro_promo' => 'प्रो में जाएँ - $19/वर्ष', 'pro_promo_aria' => 'उन्नत पहुँच सुविधाओं के लिए प्रो में अपग्रेड करें, $19/वर्ष', 'footer_text' => 'सभी के लिए पहुँच बढ़ाना।', 'hold_info' => 'उन्नत सुविधाओं के लिए बटन दबाए रखें।', 'onboarding_tip' => 'टिप: अतिरिक्त सुविधाओं के लिए बटन दबाए रखें! अभी आजमाएं।', 'Got it' => 'समझ गया!', 'Reset' => 'रीसेट', 'Close' => 'बंद करें', 'Show Descriptions' => 'विवरण दिखाएं', 'Leave a Review' => 'समीक्षा छोड़ें', 'Dismiss' => 'खारिज करें', 'I’ve Already Reviewed' => 'मैंने पहले ही समीक्षा की है', 'Powered by' => 'द्वारा संचालित', 'dyslexia-font' => 'डिस्लेक्सिया फॉन्ट सक्षम। साइट अब पाठक-अनुकूल फॉन्ट का उपयोग करती है।', 'text-selection-speech' => 'चयनित पाठ बोलें', 'keyboard-shortcuts' => 'कीबोर्ड शॉर्टकट', // New button labels 'Clarity' => 'स्पष्टता', 'Focus' => 'फोकस', 'Soothe' => 'शांत करना', 'Superhero' => 'सुपरहीरो', 'Chill' => 'ठंडा', 'Joy' => 'आनंद', 'Joy Burst' => 'आनंद विस्फोट', 'Joy Burst Locked' => 'आनंद विस्फोट लॉक (ट्वीट करके अनलॉक करें!)' ); // Spanish $translations['es'] = array( 'header-logo' => 'Accesibilidad', 'vision' => 'Visión', 'profiles' => 'Perfiles', 'navigation' => 'Navegación', 'font-size' => 'Tamaño de fuente', 'high-contrast' => 'Alto contraste', 'grayscale' => 'Escala de grises', 'text-to-speech' => 'Texto a voz', 'underline-links' => 'Subrayar enlaces', 'highlight-links' => 'Resaltar enlaces', 'deuteranomaly' => 'Deuteranomalía', 'protanomaly' => 'Protanomalía', 'tritanomaly' => 'Tritanomalía', 'blindness' => 'Ceguera', 'epilepsy-safe' => 'Seguro para epilepsia', 'reduce-motion' => 'Reducir movimiento', 'pause-animations' => 'Pausar animaciones', 'large-cursor' => 'Cursor grande', 'visible-focus' => 'Foco visible', 'letter-spacing' => 'Espaciado de letras', 'simplify-layout' => 'Simplificar diseño', 'Bottom Right' => 'Abajo a la derecha', 'Bottom Left' => 'Abajo a la izquierda', 'General Settings' => 'Configuraciones generales', 'License Key' => 'Clave de licencia', 'Styles Settings' => 'Configuraciones de estilo', 'Widget Features' => 'Funciones del widget', 'Text' => 'Texto', 'Contrast' => 'Contraste', 'Spacing' => 'Espaciado', 'Links' => 'Enlaces', 'Motion' => 'Movimiento', 'Extras' => 'Extras', 'pro_promo' => 'Hazte Pro - $19/año', 'pro_promo_aria' => 'Actualiza a Pro para funciones avanzadas de accesibilidad por $19/año', 'footer_text' => 'Mejorando la accesibilidad para todos.', 'hold_info' => 'Mantén presionados los botones para funciones avanzadas.', 'onboarding_tip' => 'Consejo: Mantén presionados los botones para funciones extra. ¡Prueba ahora!', 'Got it' => '¡Entendido!', 'Reset' => 'Restablecer', 'Close' => 'Cerrar', 'Show Descriptions' => 'Mostrar descripciones', 'Leave a Review' => 'Dejar una reseña', 'Dismiss' => 'Descartar', 'I’ve Already Reviewed' => 'Ya he dejado una reseña', 'Powered by' => 'Impulsado por', 'dyslexia-font' => 'Fuente para dislexia activada. El sitio ahora usa una fuente amigable para la lectura.', 'text-selection-speech' => 'Hablar texto seleccionado', 'keyboard-shortcuts' => 'Accesos directos de teclado', // New button labels 'Clarity' => 'Claridad', 'Focus' => 'Enfoque', 'Soothe' => 'Calmar', 'Superhero' => 'Súperhéroe', 'Chill' => 'Relajado', 'Joy' => 'Alegría', 'Joy Burst' => 'Explosión de alegría', 'Joy Burst Locked' => 'Explosión de alegría bloqueada (¡Tuitea para desbloquear!)' ); // French $translations['fr'] = array( 'header-logo' => 'Accessibilité', 'vision' => 'Vision', 'profiles' => 'Profils', 'navigation' => 'Navigation', 'font-size' => 'Taille de police', 'high-contrast' => 'Haut contraste', 'grayscale' => 'Niveaux de gris', 'text-to-speech' => 'Texte en parole', 'underline-links' => 'Souligner les liens', 'highlight-links' => 'Mettre en évidence les liens', 'deuteranomaly' => 'Déutéranomalie', 'protanomaly' => 'Protanomalie', 'tritanomaly' => 'Tritanomalie', 'blindness' => 'Cécité', 'epilepsy-safe' => 'Sûr pour l\'épilepsie', 'reduce-motion' => 'Réduire le mouvement', 'pause-animations' => 'Mettre en pause les animations', 'large-cursor' => 'Grand curseur', 'visible-focus' => 'Focus visible', 'letter-spacing' => 'Espacement des lettres', 'simplify-layout' => 'Simplifier la mise en page', 'Bottom Right' => 'En bas à droite', 'Bottom Left' => 'En bas à gauche', 'General Settings' => 'Paramètres généraux', 'License Key' => 'Clé de licence', 'Styles Settings' => 'Paramètres de style', 'Widget Features' => 'Fonctionnalités du widget', 'Text' => 'Texte', 'Contrast' => 'Contraste', 'Spacing' => 'Espacement', 'Links' => 'Liens', 'Motion' => 'Mouvement', 'Extras' => 'Extras', 'pro_promo' => 'Passez en Pro - 19 $/an', 'pro_promo_aria' => 'Passez à Pro pour des fonctionnalités avancées d\'accessibilité à 19 $/an', 'footer_text' => 'Améliorer l\'accessibilité pour tous.', 'hold_info' => 'Maintenez les boutons pour des fonctionnalités avancées.', 'onboarding_tip' => 'Astuce : Maintenez les boutons pour des fonctionnalités bonus ! Essayez maintenant.', 'Got it' => 'Compris !', 'Reset' => 'Réinitialiser', 'Close' => 'Fermer', 'Show Descriptions' => 'Afficher les descriptions', 'Leave a Review' => 'Laisser un avis', 'Dismiss' => 'Ignorer', 'I’ve Already Reviewed' => 'J\'ai déjà laissé un avis', 'Powered by' => 'Propulsé par', 'dyslexia-font' => 'Police pour dyslexie activée. Le site utilise maintenant une police conviviale pour la lecture.', 'text-selection-speech' => 'Parler le texte sélectionné', 'keyboard-shortcuts' => 'Raccourcis clavier', // New button labels 'Clarity' => 'Clarté', 'Focus' => 'Focus', 'Soothe' => 'Apaiser', 'Superhero' => 'Superhéros', 'Chill' => 'Détente', 'Joy' => 'Joie', 'Joy Burst' => 'Explosion de joie', 'Joy Burst Locked' => 'Explosion de joie verrouillée (Tuitez pour débloquer !)' ); // Arabic $translations['ar'] = array( 'header-logo' => 'إمكانية الوصول', 'vision' => 'رؤية', 'profiles' => 'الملفات الشخصية', 'navigation' => 'التنقل', 'font-size' => 'حجم الخط', 'high-contrast' => 'تباين عالي', 'grayscale' => 'تدرج رمادي', 'text-to-speech' => 'نص إلى كلام', 'underline-links' => 'تسطير الروابط', 'highlight-links' => 'إبراز الروابط', 'deuteranomaly' => 'العمى الأخضر', 'protanomaly' => 'العمى الأحمر', 'tritanomaly' => 'العمى الأزرق', 'blindness' => 'عمى', 'epilepsy-safe' => 'آمن للصرع', 'reduce-motion' => 'تقليل الحركة', 'pause-animations' => 'إيقاف الرسوم المتحركة', 'large-cursor' => 'مؤشر كبير', 'visible-focus' => 'تركيز مرئي', 'letter-spacing' => 'تباعد الحروف', 'simplify-layout' => 'تبسيط التخطيط', 'Bottom Right' => 'أسفل يمين', 'Bottom Left' => 'أسفل يسار', 'General Settings' => 'الإعدادات العامة', 'License Key' => 'مفتاح الترخيص', 'Styles Settings' => 'إعدادات الأنماط', 'Widget Features' => 'ميزات الودجت', 'Text' => 'نص', 'Contrast' => 'تباين', 'Spacing' => 'تباعد', 'Links' => 'روابط', 'Motion' => 'حركة', 'Extras' => 'إضافات', 'pro_promo' => 'انتقل إلى الاحترافي - 19$/سنة', 'pro_promo_aria' => 'ترقية إلى الاحترافي للحصول على ميزات إمكانية وصول متقدمة بـ 19$/سنة', 'footer_text' => 'تعزيز إمكانية الوصول للجميع.', 'hold_info' => 'اضغط مطولاً على الأزرار للميزات المتقدمة.', 'onboarding_tip' => 'نصيحة: اضغط مطولاً على الأزرار لميزات إضافية! جرب الآن.', 'Got it' => 'حسناً!', 'Reset' => 'إعادة تعيين', 'Close' => 'إغلاق', 'Show Descriptions' => 'عرض الوصف', 'Leave a Review' => 'اترك مراجعة', 'Dismiss' => 'رفض', 'I’ve Already Reviewed' => 'لقد تركت مراجعة بالفعل', 'Powered by' => 'مدعوم بواسطة', 'dyslexia-font' => 'تم تفعيل خط الديسليكسيا. يستخدم الموقع الآن خطًا ودودًا للقراءة.', 'text-selection-speech' => 'نطق النص المحدد', 'keyboard-shortcuts' => 'اختصارات لوحة المفاتيح', // New button labels 'Clarity' => 'وضوح', 'Focus' => 'تركيز', 'Soothe' => 'تهدئة', 'Superhero' => 'بطل خارق', 'Chill' => 'استرخاء', 'Joy' => 'فرح', 'Joy Burst' => 'انفجار الفرح', 'Joy Burst Locked' => 'انفجار الفرح مقفل (غرد لفتحه!)' ); // Bengali $translations['bn'] = array( 'header-logo' => 'অ্যাক্সেসিবিলিটি', 'vision' => 'দৃষ্টি', 'profiles' => 'প্রোফাইল', 'navigation' => 'নেভিগেশন', 'font-size' => 'ফন্ট সাইজ', 'high-contrast' => 'উচ্চ কনট্রাস্ট', 'grayscale' => 'গ্রেস্কেল', 'text-to-speech' => 'টেক্সট টু স্পিচ', 'underline-links' => 'লিঙ্ক আন্ডারলাইন করুন', 'highlight-links' => 'লিঙ্ক হাইলাইট করুন', 'deuteranomaly' => 'ডিউটেরানোমালি', 'protanomaly' => 'প্রোটানোমালি', 'tritanomaly' => 'ট্রাইটানোমালি', 'blindness' => 'অন্ধত্ব', 'epilepsy-safe' => 'মৃগীরোগ নিরাপদ', 'reduce-motion' => 'গতি কমান', 'pause-animations' => 'অ্যানিমেশন বন্ধ করুন', 'large-cursor' => 'বড় কার্সর', 'visible-focus' => 'দৃশ্যমান ফোকাস', 'letter-spacing' => 'অক্ষর ব্যবধান', 'simplify-layout' => 'লেআউট সরলীকরণ', 'Bottom Right' => 'নিচে ডানে', 'Bottom Left' => 'নিচে বামে', 'General Settings' => 'সাধারণ সেটিংস', 'License Key' => 'লাইসেন্স কী', 'Styles Settings' => 'স্টাইল সেটিংস', 'Widget Features' => 'উইজেট ফিচার', 'Text' => 'টেক্সট', 'Contrast' => 'কনট্রাস্ট', 'Spacing' => 'ব্যবধান', 'Links' => 'লিঙ্ক', 'Motion' => 'গতি', 'Extras' => 'অতিরিক্ত', 'pro_promo' => 'প্রোতে যান - $19/বছর', 'pro_promo_aria' => 'উন্নত অ্যাক্সেসিবিলিটি ফিচারের জন্য প্রোতে আপগ্রেড করুন, $19/বছর', 'footer_text' => 'সবার জন্য অ্যাক্সেসিবিলিটি উন্নত করা।', 'hold_info' => 'উন্নত ফিচারের জন্য বোতাম চেপে ধরুন।', 'onboarding_tip' => 'টিপ: বোনাস ফিচারের জন্য বোতাম চেপে ধরুন! এখন চেষ্টা করুন।', 'Got it' => 'বুঝলাম!', 'Reset' => 'রিসেট', 'Close' => 'বন্ধ করুন', 'Show Descriptions' => 'বর্ণনা দেখান', 'Leave a Review' => 'রিভিউ দিন', 'Dismiss' => 'বাতিল', 'I’ve Already Reviewed' => 'আমি ইতিমধ্যে রিভিউ দিয়েছি', 'Powered by' => 'চালিত', 'dyslexia-font' => 'ডিসলেক্সিয়া ফন্ট সক্রিয়। সাইট এখন পাঠক-বান্ধব ফন্ট ব্যবহার করে।', 'text-selection-speech' => 'নির্বাচিত টেক্সট বলুন', 'keyboard-shortcuts' => 'কীবোর্ড শর্টকাট', // New button labels 'Clarity' => 'স্পষ্টতা', 'Focus' => 'ফোকাস', 'Soothe' => 'শান্ত করা', 'Superhero' => 'সুপারহিরো', 'Chill' => 'শীতল', 'Joy' => 'আনন্দ', 'Joy Burst' => 'আনন্দ বিস্ফোরণ', 'Joy Burst Locked' => 'আনন্দ বিস্ফোরণ লকড (টুইট করে আনলক করুন!)' ); // Russian $translations['ru'] = array( 'header-logo' => 'Доступность', 'vision' => 'Зрение', 'profiles' => 'Профили', 'navigation' => 'Навигация', 'font-size' => 'Размер шрифта', 'high-contrast' => 'Высокий контраст', 'grayscale' => 'Оттенки серого', 'text-to-speech' => 'Текст в речь', 'underline-links' => 'Подчеркивать ссылки', 'highlight-links' => 'Выделять ссылки', 'deuteranomaly' => 'Деутераномалия', 'protanomaly' => 'Протаномалия', 'tritanomaly' => 'Тританомалия', 'blindness' => 'Слепота', 'epilepsy-safe' => 'Безопасно для эпилепсии', 'reduce-motion' => 'Уменьшить движение', 'pause-animations' => 'Приостановить анимации', 'large-cursor' => 'Большой курсор', 'visible-focus' => 'Видимый фокус', 'letter-spacing' => 'Межбуквенный интервал', 'simplify-layout' => 'Упростить макет', 'Bottom Right' => 'Внизу справа', 'Bottom Left' => 'Внизу слева', 'General Settings' => 'Общие настройки', 'License Key' => 'Ключ лицензии', 'Styles Settings' => 'Настройки стилей', 'Widget Features' => 'Функции виджета', 'Text' => 'Текст', 'Contrast' => 'Контраст', 'Spacing' => 'Интервал', 'Links' => 'Ссылки', 'Motion' => 'Движение', 'Extras' => 'Дополнительно', 'pro_promo' => 'Перейти на Pro - $19/год', 'pro_promo_aria' => 'Обновитесь до Pro для расширенных функций доступности за $19/год', 'footer_text' => 'Улучшение доступности для всех.', 'hold_info' => 'Удерживайте кнопки для расширенных функций.', 'onboarding_tip' => 'Совет: Удерживайте кнопки для бонусных функций! Попробуйте сейчас.', 'Got it' => 'Понял!', 'Reset' => 'Сброс', 'Close' => 'Закрыть', 'Show Descriptions' => 'Показать описания', 'Leave a Review' => 'Оставить отзыв', 'Dismiss' => 'Отменить', 'I’ve Already Reviewed' => 'Я уже оставил отзыв', 'Powered by' => 'Работает на', 'dyslexia-font' => 'Шрифт для дислексии включен. Сайт теперь использует удобный для чтения шрифт.', 'text-selection-speech' => 'Произнести выделенный текст', 'keyboard-shortcuts' => 'Горячие клавиши', // New button labels 'Clarity' => 'Ясность', 'Focus' => 'Фокус', 'Soothe' => 'Успокоить', 'Superhero' => 'Супергерой', 'Chill' => 'Расслабься', 'Joy' => 'Радость', 'Joy Burst' => 'Взрыв радости', 'Joy Burst Locked' => 'Взрыв радости заблокирован (Твитните, чтобы разблокировать!)' ); // Portuguese $translations['pt'] = array( 'header-logo' => 'Acessibilidade', 'vision' => 'Visão', 'profiles' => 'Perfis', 'navigation' => 'Navegação', 'font-size' => 'Tamanho da fonte', 'high-contrast' => 'Alto contraste', 'grayscale' => 'Escala de cinza', 'text-to-speech' => 'Texto para fala', 'underline-links' => 'Sublinhar links', 'highlight-links' => 'Destacar links', 'deuteranomaly' => 'Deuteranomalia', 'protanomaly' => 'Protanomalia', 'tritanomaly' => 'Tritanomalia', 'blindness' => 'Cegueira', 'epilepsy-safe' => 'Seguro para epilepsia', 'reduce-motion' => 'Reduzir movimento', 'pause-animations' => 'Pausar animações', 'large-cursor' => 'Cursor grande', 'visible-focus' => 'Foco visível', 'letter-spacing' => 'Espaçamento de letras', 'simplify-layout' => 'Simplificar layout', 'Bottom Right' => 'Inferior direito', 'Bottom Left' => 'Inferior esquerdo', 'General Settings' => 'Configurações gerais', 'License Key' => 'Chave de licença', 'Styles Settings' => 'Configurações de estilo', 'Widget Features' => 'Recursos do widget', 'Text' => 'Texto', 'Contrast' => 'Contraste', 'Spacing' => 'Espaçamento', 'Links' => 'Links', 'Motion' => 'Movimento', 'Extras' => 'Extras', 'pro_promo' => 'Tornar-se Pro - $19/ano', 'pro_promo_aria' => 'Atualize para Pro para recursos avançados de acessibilidade por $19/ano', 'footer_text' => 'Melhorando a acessibilidade para todos.', 'hold_info' => 'Mantenha os botões pressionados para recursos avançados.', 'onboarding_tip' => 'Dica: Mantenha os botões pressionados para recursos extras! Experimente agora.', 'Got it' => 'Entendido!', 'Reset' => 'Redefinir', 'Close' => 'Fechar', 'Show Descriptions' => 'Mostrar descrições', 'Leave a Review' => 'Deixar uma avaliação', 'Dismiss' => 'Dispensar', 'I’ve Already Reviewed' => 'Já deixei uma avaliação', 'Powered by' => 'Desenvolvido por', 'dyslexia-font' => 'Fonte para dislexia ativada. O site agora usa uma fonte amigável para leitura.', 'text-selection-speech' => 'Falar texto selecionado', 'keyboard-shortcuts' => 'Atalhos de teclado', // New button labels 'Clarity' => 'Clareza', 'Focus' => 'Foco', 'Soothe' => 'Acalmar', 'Superhero' => 'Super-herói', 'Chill' => 'Relaxar', 'Joy' => 'Alegria', 'Joy Burst' => 'Explosão de alegria', 'Joy Burst Locked' => 'Explosão de alegria bloqueada (Tweet para desbloquear!)' ); // Urdu $translations['ur'] = array( 'header-logo' => 'رسائی', 'vision' => 'نظر', 'profiles' => 'پروفائلز', 'navigation' => 'نیویگیشن', 'font-size' => 'فونٹ سائز', 'high-contrast' => 'ہائی کنٹریسٹ', 'grayscale' => 'گرے اسکیل', 'text-to-speech' => 'ٹیکسٹ ٹو اسپیچ', 'underline-links' => 'لنکس کے نیچے لائن کریں', 'highlight-links' => 'لنکس کو ہائی لائٹ کریں', 'deuteranomaly' => 'ڈیوٹیرانوملی', 'protanomaly' => 'پروٹانوملی', 'tritanomaly' => 'ٹریٹانوملی', 'blindness' => 'اندھاپن', 'epilepsy-safe' => 'مرگی کے لیے محفوظ', 'reduce-motion' => 'حرکت کم کریں', 'pause-animations' => 'اینیمیشنز روکیں', 'large-cursor' => 'بڑا کرسر', 'visible-focus' => 'دکھائی دینے والا فوکس', 'letter-spacing' => 'خطوط کا فاصلہ', 'simplify-layout' => 'لے آؤٹ سادہ کریں', 'Bottom Right' => 'نیچے دائیں', 'Bottom Left' => 'نیچے بائیں', 'General Settings' => 'عام ترتیبات', 'License Key' => 'لائسنس کی', 'Styles Settings' => 'اسٹائل ترتیبات', 'Widget Features' => 'ویجٹ کی خصوصیات', 'Text' => 'متن', 'Contrast' => 'کنٹریسٹ', 'Spacing' => 'فاصلہ', 'Links' => 'لنکس', 'Motion' => 'حرکت', 'Extras' => 'اضافی', 'pro_promo' => 'پرو بنائیں - $19/سال', 'pro_promo_aria' => 'اعلیٰ رسائی خصوصیات کے لیے پرو میں اپ گریڈ کریں، $19/سال', 'footer_text' => 'سب کے لیے رسائی کو بہتر بنانا۔', 'hold_info' => 'اعلیٰ خصوصیات کے لیے بٹن دبائے رکھیں۔', 'onboarding_tip' => 'ٹپ: اضافی خصوصیات کے لیے بٹن دبائے رکھیں! ابھی آزمائیں۔', 'Got it' => 'سمجھ گیا!', 'Reset' => 'ری سیٹ', 'Close' => 'بند کریں', 'Show Descriptions' => 'تفصیلات دکھائیں', 'Leave a Review' => 'ایک جائزہ دیں', 'Dismiss' => 'مسترد کریں', 'I’ve Already Reviewed' => 'میں نے پہلے ہی جائزہ دیا ہے', 'Powered by' => 'کے ذریعے تقویت یافتہ', 'dyslexia-font' => 'ڈسلیکسیا فونٹ فعال کیا گیا۔ سائٹ اب پڑھنے کے لیے آسان فونٹ استعمال کرتی ہے۔', 'text-selection-speech' => 'منتخب کردہ متن بولیں', 'keyboard-shortcuts' => 'کی بورڈ شارٹ کٹس', // New button labels 'Clarity' => 'وضاحت', 'Focus' => 'فوکس', 'Soothe' => 'پرسکون کرنا', 'Superhero' => 'سپر ہیرو', 'Chill' => 'چل', 'Joy' => 'خوشی', 'Joy Burst' => 'خوشی کا دھماکہ', 'Joy Burst Locked' => 'خوشی کا دھماکہ لاک (ٹویٹ کرکے انلاک کریں!)' ); // German $translations['de'] = array( 'header-logo' => 'Barrierefreiheit', 'vision' => 'Sehen', 'profiles' => 'Profile', 'navigation' => 'Navigation', 'font-size' => 'Schriftgröße', 'high-contrast' => 'Hoher Kontrast', 'grayscale' => 'Graustufen', 'text-to-speech' => 'Text-zu-Sprache', 'underline-links' => 'Links unterstreichen', 'highlight-links' => 'Links hervorheben', 'deuteranomaly' => 'Deuteranomalie', 'protanomaly' => 'Protanomalie', 'tritanomaly' => 'Tritanomalie', 'blindness' => 'Blindheit', 'epilepsy-safe' => 'Epilepsie-sicher', 'reduce-motion' => 'Bewegung reduzieren', 'pause-animations' => 'Animationen pausieren', 'large-cursor' => 'Großer Cursor', 'visible-focus' => 'Sichtbarer Fokus', 'letter-spacing' => 'Buchstabenabstand', 'simplify-layout' => 'Layout vereinfachen', 'Bottom Right' => 'Unten rechts', 'Bottom Left' => 'Unten links', 'General Settings' => 'Allgemeine Einstellungen', 'License Key' => 'Lizenzschlüssel', 'Styles Settings' => 'Stileinstellungen', 'Widget Features' => 'Widget-Funktionen', 'Text' => 'Text', 'Contrast' => 'Kontrast', 'Spacing' => 'Abstand', 'Links' => 'Links', 'Motion' => 'Bewegung', 'Extras' => 'Extras', 'pro_promo' => 'Pro werden - 19$/Jahr', 'pro_promo_aria' => 'Upgraden Sie auf Pro für erweiterte Barrierefreiheitsfunktionen für 19$/Jahr', 'footer_text' => 'Barrierefreiheit für alle verbessern.', 'hold_info' => 'Halten Sie die Tasten für erweiterte Funktionen gedrückt.', 'onboarding_tip' => 'Tipp: Halten Sie die Tasten für Bonusfunktionen gedrückt! Jetzt ausprobieren.', 'Got it' => 'Verstanden!', 'Reset' => 'Zurücksetzen', 'Close' => 'Schließen', 'Show Descriptions' => 'Beschreibungen anzeigen', 'Leave a Review' => 'Eine Bewertung abgeben', 'Dismiss' => 'Abbrechen', 'I’ve Already Reviewed' => 'Ich habe bereits eine Bewertung abgegeben', 'Powered by' => 'Betrieben von', 'dyslexia-font' => 'Dyslexie-Schrift aktiviert. Die Website verwendet jetzt eine leserfreundliche Schriftart.', 'text-selection-speech' => 'Ausgewählten Text vorlesen', 'keyboard-shortcuts' => 'Tastenkombinationen', // New button labels 'Clarity' => 'Klarheit', 'Focus' => 'Fokus', 'Soothe' => 'Beruhigen', 'Superhero' => 'Superheld', 'Chill' => 'Entspannen', 'Joy' => 'Freude', 'Joy Burst' => 'Freudenexplosion', 'Joy Burst Locked' => 'Freudenexplosion gesperrt (Tweeten zum Entsperren!)' ); // Dutch $translations['nl'] = array( 'header-logo' => 'Toegankelijkheid', 'vision' => 'Zicht', 'profiles' => 'Profielen', 'navigation' => 'Navigatie', 'font-size' => 'Lettergrootte', 'high-contrast' => 'Hoog contrast', 'grayscale' => 'Grijsschaal', 'text-to-speech' => 'Tekst naar spraak', 'underline-links' => 'Links onderstrepen', 'highlight-links' => 'Links markeren', 'deuteranomaly' => 'Deuteranomalie', 'protanomaly' => 'Protanomalie', 'tritanomaly' => 'Tritanomalie', 'blindness' => 'Blindheid', 'epilepsy-safe' => 'Epilepsie-veilig', 'reduce-motion' => 'Beweging verminderen', 'pause-animations' => 'Animaties pauzeren', 'large-cursor' => 'Grote cursor', 'visible-focus' => 'Zichtbare focus', 'letter-spacing' => 'Letterafstand', 'simplify-layout' => 'Lay-out vereenvoudigen', 'Bottom Right' => 'Rechtsonder', 'Bottom Left' => 'Linksonder', 'General Settings' => 'Algemene instellingen', 'License Key' => 'Licentiesleutel', 'Styles Settings' => 'Stijlinstellingen', 'Widget Features' => 'Widget-functies', 'Text' => 'Tekst', 'Contrast' => 'Contrast', 'Spacing' => 'Afstand', 'Links' => 'Links', 'Motion' => 'Beweging', 'Extras' => 'Extra’s', 'pro_promo' => 'Word Pro - $19/jaar', 'pro_promo_aria' => 'Upgrade naar Pro voor geavanceerde toegankelijkheidsfuncties voor $19/jaar', 'footer_text' => 'Toegankelijkheid voor iedereen verbeteren.', 'hold_info' => 'Houd knoppen ingedrukt voor geavanceerde functies.', 'onboarding_tip' => 'Tip: Houd knoppen ingedrukt voor bonusfuncties! Probeer nu.', 'Got it' => 'Begrepen!', 'Reset' => 'Resetten', 'Close' => 'Sluiten', 'Show Descriptions' => 'Toon beschrijvingen', 'Leave a Review' => 'Laat een recensie achter', 'Dismiss' => 'Negeren', 'I’ve Already Reviewed' => 'Ik heb al een recensie achtergelaten', 'Powered by' => 'Aangedreven door', 'dyslexia-font' => 'Dyslexie-font ingeschakeld. De site gebruikt nu een leesvriendelijk lettertype.', 'text-selection-speech' => 'Spreek geselecteerde tekst uit', 'keyboard-shortcuts' => 'Sneltoetsen', // New button labels 'Clarity' => 'Duidelijkheid', 'Focus' => 'Focus', 'Soothe' => 'Kalmeren', 'Superhero' => 'Superheld', 'Chill' => 'Rustig', 'Joy' => 'Vreugde', 'Joy Burst' => 'Vreugde-uitbarsting', 'Joy Burst Locked' => 'Vreugde-uitbarsting vergrendeld (Tweet om te ontgrendelen!)' ); // Return translations for requested language, fallback to English return isset($translations[$lang]) ? $translations[$lang] : $translations['en']; } ?>