Spaces:
Sleeping
Sleeping
# translations.py | |
translations = { | |
"English": { | |
# Header | |
"header_title": "Optimized Gaza First Aid Assistant", | |
"header_subtitle": "Get medical guidance in low-resource emergencies", | |
"header_description": "Built for volunteers and organizers responding to crises with limited access to help", | |
# Query Section | |
"query_heading": "🩺 Enter a medical query below", | |
"query_input_label": "Medical Question", | |
"query_placeholder": "e.g. How do I treat a gunshot wound with no hospital access?", | |
"submit_btn": "Get Guidance", | |
"clear_btn": "Clear", | |
# Response Section | |
"response_heading": "💡 AI Medical Guidance", | |
"response_label": "Response", | |
"response_placeholder": "Your medical guidance will appear here...", | |
"metadata_label": "Metadata", | |
"metadata_placeholder": "Response metadata will appear here...", | |
"safety_label": "Safety Check", | |
"safety_placeholder": "Safety validation status will appear here...", | |
# Quick Access | |
"quick_heading": "Optimized Features", | |
"quick_performance": "Performance", | |
"quick_faiss": "Pre-computed FAISS index", | |
"quick_embedding": "768-dimensional embeddings", | |
"quick_speed": "Lightning-fast search", | |
"quick_context": "Optimized for Gaza context", | |
"quick_knowledge": "Knowledge Base", | |
"quick_who": "WHO medical protocols", | |
"quick_icrc": "ICRC war surgery guides", | |
"quick_msf": "MSF field manuals", | |
"quick_adaptations": "Gaza-specific adaptations", | |
"quick_safety": "Safety Features", | |
"quick_factcheck": "Real-time fact checking", | |
"quick_contraindications": "Contraindication detection", | |
"quick_resource_warnings": "Gaza resource warnings", | |
"quick_disclaimer": "Professional disclaimers", | |
# Example Scenarios | |
"example_heading": "Example Medical Scenarios", | |
"example_hint": "Click any example to try it:", | |
"example_queries": [ | |
"How to treat severe burns when clean water is extremely limited?", | |
"Managing gunshot wounds with only basic household supplies", | |
"Recognizing and treating infection in wounds without antibiotics", | |
"Emergency care for children during extended power outages", | |
"Treating compound fractures without proper medical equipment" | |
], | |
}, | |
"Arabic": { | |
# Header | |
"header_title": "مساعد الإسعافات الأولية لغزة", | |
"header_subtitle": "احصل على إرشادات طبية في حالات الطوارئ ذات الموارد المحدودة", | |
"header_description": "مصمم للمتطوعين والمنظمين في حالات الأزمات مع وصول محدود للمساعدة", | |
# Query Section | |
"query_heading": "🩺 أدخل استفسارك الطبي أدناه", | |
"query_input_label": "السؤال الطبي", | |
"query_placeholder": "مثال: كيف أعالج جرح رصاصة بدون الوصول إلى المستشفى؟", | |
"submit_btn": "احصل على الإرشاد", | |
"clear_btn": "مسح", | |
# Response Section | |
"response_heading": "💡 الإرشادات الطبية من الذكاء الاصطناعي", | |
"response_label": "الرد", | |
"response_placeholder": "سيظهر الإرشاد الطبي هنا...", | |
"metadata_label": "البيانات الوصفية", | |
"metadata_placeholder": "سيتم عرض بيانات الرد هنا...", | |
"safety_label": "فحص السلامة", | |
"safety_placeholder": "سيتم عرض حالة فحص السلامة هنا...", | |
# Quick Access | |
"quick_heading": "الميزات المحسّنة", | |
"quick_performance": "الأداء", | |
"quick_faiss": "مؤشر FAISS محسوب مسبقًا", | |
"quick_embedding": "تمثيلات بـ 768 بُعدًا", | |
"quick_speed": "بحث فائق السرعة", | |
"quick_context": "مصمم خصيصًا لبيئة غزة", | |
"quick_knowledge": "قاعدة المعرفة", | |
"quick_who": "بروتوكولات منظمة الصحة العالمية", | |
"quick_icrc": "أدلة الجراحة في الحرب من الصليب الأحمر", | |
"quick_msf": "دليل أطباء بلا حدود", | |
"quick_adaptations": "تعديلات خاصة بغزة", | |
"quick_safety": "ميزات السلامة", | |
"quick_factcheck": "التحقق من الحقائق في الوقت الفعلي", | |
"quick_contraindications": "كشف التعارضات", | |
"quick_resource_warnings": "تحذيرات الموارد المحدودة", | |
"quick_disclaimer": "إخلاء مسؤولية مهني", | |
# Example Scenarios | |
"example_heading": "أمثلة على سيناريوهات طبية", | |
"example_hint": "اضغط على أي مثال لتجربته:", | |
"example_queries": [ | |
"كيفية علاج الحروق الشديدة عند نقص المياه النظيفة؟", | |
"التعامل مع جروح الرصاص باستخدام أدوات منزلية فقط", | |
"التعرف على العدوى في الجروح وعلاجها بدون مضادات حيوية", | |
"الرعاية الطارئة للأطفال أثناء انقطاع الكهرباء", | |
"علاج الكسور المركبة بدون معدات طبية مناسبة" | |
], | |
} | |
} | |