feat: harden PDF translation workflow

This commit is contained in:
Your Name
2026-03-30 14:24:18 +02:00
parent 499ebe3ce8
commit 6e8cf6f83a
17 changed files with 1358 additions and 1931 deletions

View File

@@ -827,9 +827,16 @@
},
"translatePdf": {
"title": "ترجمة PDF",
"description": "ترجم محتوى مستند PDF إلى أي لغة باستخدام الذكاء الاصطناعي.",
"description": "ترجم ملفات PDF عبر مسار ترجمة احترافي مع fallback تلقائي وتعامل أفضل مع الملفات الممسوحة ضوئياً.",
"shortDesc": "ترجمة PDF",
"sourceLang": "لغة المصدر",
"targetLang": "اللغة المستهدفة",
"autoDetect": "اكتشاف تلقائي",
"engineTitle": "ترجمة مستندات بجاهزية إنتاجية",
"engineDescription": "يتم إرسال الملف أولاً إلى مزود ترجمة احترافي، ثم يتم التحويل تلقائياً إلى مسار AI فقط عند الحاجة. هذا يقلل مشاكل الضغط ويحسن ثبات النتيجة.",
"processingHint": "قد تتم ترجمة المستندات الكبيرة على عدة أجزاء مع retries وfallback بين المزودات. اترك الصفحة مفتوحة حتى يكتمل الطلب.",
"sourceDetected": "لغة المصدر المكتشفة",
"translationEngine": "محرك الترجمة",
"resultTitle": "الترجمة"
},
"tableExtractor": {

View File

@@ -827,9 +827,16 @@
},
"translatePdf": {
"title": "Translate PDF",
"description": "Translate your PDF document content to any language using AI.",
"description": "Translate PDF documents with a premium translation pipeline, automatic fallback, and better handling for scanned files.",
"shortDesc": "Translate PDF",
"sourceLang": "Source Language",
"targetLang": "Target Language",
"autoDetect": "Auto detect",
"engineTitle": "Production-grade document translation",
"engineDescription": "Your file is translated with a premium translation provider first, then automatically falls back to AI only if needed. This reduces high-demand failures and improves consistency.",
"processingHint": "Large documents may be translated in multiple chunks with retries and provider fallback. Keep this page open until the job completes.",
"sourceDetected": "Detected source",
"translationEngine": "Translation engine",
"resultTitle": "Translation"
},
"tableExtractor": {

View File

@@ -827,9 +827,16 @@
},
"translatePdf": {
"title": "Traduire un PDF",
"description": "Traduisez le contenu de votre document PDF dans n'importe quelle langue grâce à l'IA.",
"description": "Traduisez vos PDF avec un pipeline premium, un fallback automatique et une meilleure prise en charge des fichiers scannés.",
"shortDesc": "Traduire le PDF",
"sourceLang": "Langue source",
"targetLang": "Langue cible",
"autoDetect": "Détection automatique",
"engineTitle": "Traduction documentaire de niveau production",
"engineDescription": "Votre fichier passe d'abord par un fournisseur de traduction premium, puis bascule automatiquement vers l'IA seulement si nécessaire. Cela réduit les erreurs de forte demande et améliore la stabilité.",
"processingHint": "Les documents volumineux peuvent être traduits en plusieurs segments avec retries et fallback entre fournisseurs. Laissez cette page ouverte jusqu'à la fin du traitement.",
"sourceDetected": "Source détectée",
"translationEngine": "Moteur de traduction",
"resultTitle": "Traduction"
},
"tableExtractor": {