تقرير مقارنة ملفات الترجمة - Language Comparison Report ═════════════════════════════════════════════════════════════════════════════════ التاريخ / Date: 📊 ملخص تنفيذي | EXECUTIVE SUMMARY ═════════════════════════════════════════════════════════════════════════════════ تم فحص جميع ملفات اللغات الأربعة (AR, EN, ES, FR) وتم العثور على المشاكل التالية: All language files have been examined. The following issues were identified: ✅ ملفات اللغة الكاملة / Complete Language Files: • activity.php - ✅ Complete and consistent ⚠️ ملفات بها مشاكل / Files with Issues: 1. app.php - 26 issues 2. auth.php - 3 issues 3. custom.php - 5 issues 4. deductions.php - 45 issues 5. employees.php - Partially complete 6. leaves.php - 3 issues 7. loans.php - 1 issue (missing in AR) 8. notifications.php - ✅ Complete 9. payroll.php - 43 issues 10. settings.php - 40 issues (missing in AR) 11. users.php - 17 issues 12. validation.php - 139 issues (جميع المفاتيح في ar مفقودة في اللغات الأخرى) ═════════════════════════════════════════════════════════════════════════════════ 📋 التفاصيل الكاملة | DETAILED BREAKDOWN ═════════════════════════════════════════════════════════════════════════════════ 1️⃣ APP.PHP ─────────────────────────────────────────────────────────────────────────────── ❌ مفاتيح موجودة في AR لكن مفقودة في لغات أخرى: • attendance_status.present - Missing in: ES • attendance_status.absent - Missing in: ES • attendance_status.late - Missing in: ES • attendance_status.leave - Missing in: ES • leave_types.annual - Missing in: ES • leave_types.sick - Missing in: ES • leave_types.emergency - Missing in: ES • leave_types.maternity - Missing in: ES • leave_types.paternity - Missing in: ES • leave_types.unpaid - Missing in: ES • status.active - Missing in: ES, FR • status.inactive - Missing in: ES, FR • status.pending - Missing in: ES, FR • status_label - Missing in: ES, FR • overtime_hourly_rate_label - Missing in: ES, FR • leave_accrual_label - Missing in: ES, FR • overtime_hours_12m_label - Missing in: ES, FR • overtime_pay_12m_label - Missing in: ES, FR • enabled - Missing in: ES, FR • disabled - Missing in: ES, FR ⚠️ مفاتيح موجودة في لغات أخرى لكن مفقودة في AR: • language.ar - Found in: ES • language.en - Found in: ES • language.fr - Found in: ES • language.es - Found in: ES • status - Found in: ES, FR ─────────────────────────────────────────────────────────────────────────────── 2️⃣ AUTH.PHP ─────────────────────────────────────────────────────────────────────────────── ❌ مفاتيح موجودة في AR لكن مفقودة في اللغات الأخرى: • failed - Missing in: EN, ES, FR • password - Missing in: EN, ES, FR • throttle - Missing in: EN, ES, FR ─────────────────────────────────────────────────────────────────────────────── 3️⃣ CUSTOM.PHP ─────────────────────────────────────────────────────────────────────────────── ❌ مفاتيح موجودة في AR لكن مفقودة في اللغات الأخرى: • features.permissions - Missing in: ES, FR • welcome_title - Missing in: ES, FR • welcome_text - Missing in: ES, FR • security_statement - Missing in: ES, FR • processing - Missing in: ES, FR ─────────────────────────────────────────────────────────────────────────────── 4️⃣ DEDUCTIONS.PHP ─────────────────────────────────────────────────────────────────────────────── ❌ مفاتيح موجودة في AR لكن مفقودة في ES وفي بعض الحالات FR: • table.employee_name - Missing in: ES • table.deduction_date - Missing in: ES • table.frequency - Missing in: ES, FR • table.actions - Missing in: ES • table.no_records - Missing in: ES • page_title - Missing in: ES • breadcrumb_home - Missing in: ES • breadcrumb_deductions - Missing in: ES • cards.total_deductions - Missing in: ES • cards.total_amount - Missing in: ES • cards.monthly - Missing in: ES • cards.annual - Missing in: ES • filters.search_placeholder - Missing in: ES • filters.all_employees - Missing in: ES • filters.all_types - Missing in: ES • filters.all_statuses - Missing in: ES • type_labels.cash_deduction - Missing in: ES • type_labels.in_kind_deduction - Missing in: ES • type_labels.taxes - Missing in: ES • type_labels.social_insurance - Missing in: ES • type_labels.health_insurance - Missing in: ES • type_labels.penalties - Missing in: ES • type_labels.deductions - Missing in: ES • type_labels.loans - Missing in: ES • type_labels.subscriptions - Missing in: ES • type_labels.other_deductions - Missing in: ES • buttons.apply - Missing in: ES • buttons.reset - Missing in: ES • buttons.create - Missing in: ES • meta.created_by - Missing in: ES, FR • meta.ip - Missing in: ES, FR • meta.user_agent - Missing in: ES, FR ⚠️ مفاتيح موجودة في لغات أخرى لكن مفقودة في AR: • frequency.once - Found in: EN, ES, FR • frequency.monthly - Found in: EN, ES, FR • frequency.yearly - Found in: EN, ES, FR • frequency.one_time - Found in: EN, ES, FR • frequency.annual - Found in: EN, ES, FR • table.date - Found in: ES ─────────────────────────────────────────────────────────────────────────────── 5️⃣ LEAVES.PHP ─────────────────────────────────────────────────────────────────────────────── ❌ مفاتيح موجودة في AR لكن مفقودة في ES و FR: • fields.excluded_days - Missing in: ES, FR • fields.deductible_days - Missing in: ES, FR • fields.unpaid_deducted_days - Missing in: ES, FR ─────────────────────────────────────────────────────────────────────────────── 6️⃣ LOANS.PHP ─────────────────────────────────────────────────────────────────────────────── ⚠️ مفاتيح موجودة في لغات أخرى لكن مفقودة في AR: • empty.payment_history - Found in: EN, ES, FR ─────────────────────────────────────────────────────────────────────────────── 7️⃣ PAYROLL.PHP ─────────────────────────────────────────────────────────────────────────────── ❌ مفاتيح موجودة في AR لكن مفقودة في لغات أخرى: تم إضافة مفاتيح جديدة في AR غير موجودة في اللغات الأخرى: • labels.* (11 مفاتيح جديدة) • index.gross_salary, other_deductions, payment_date • employee_payrolls.* (6 مفاتيح جديدة) • employee_payrolls_page.* (6 مفاتيح جديدة) • previous.headers.overtime, attendance_adjustment ⚠️ مفاتيح موجودة في اللغات الأخرى لكن مفقودة في AR: • labels.* (من EN, ES, FR) • create.days • previous.* (من EN, ES, FR) • types_raw, loan_types_raw (من EN, ES, FR) ─────────────────────────────────────────────────────────────────────────────── 8️⃣ SETTINGS.PHP ─────────────────────────────────────────────────────────────────────────────── ⚠️ مفاتيح موجودة في لغات أخرى (EN, ES, FR) لكن مفقودة في AR: • currencies.* (40 عملة) ILS, PKR, BDT, LKR, MAD, TND, DZD, LYD, SDG, NGN, GHS, TZS, KES, UGX, ETB, AOA, ZMW, MWK, BWP, MUR, SCR, CVE, STN, GMD, GNF, LRD, SLL, CDF, RWF, BIF, DJF, SOS, KMF, MRU, XAF, XOF, XPF وغيرها ─────────────────────────────────────────────────────────────────────────────── 9️⃣ USERS.PHP ─────────────────────────────────────────────────────────────────────────────── ❌ مفاتيح موجودة في AR لكن مفقودة في ES و FR: • password - Missing in: ES, FR • create_title - Missing in: ES, FR • create_form_title - Missing in: ES, FR • create_user - Missing in: ES, FR • never - Missing in: ES, FR • avatar - Missing in: ES, FR • label_name - Missing in: ES, FR • label_email - Missing in: ES, FR • label_status - Missing in: ES, FR • employee_number - Missing in: ES, FR • employee_position - Missing in: ES, FR • employee_department - Missing in: ES, FR • employee_not_linked - Missing in: ES, FR • confirm_delete - Missing in: ES, FR • delete - Missing in: ES, FR • view - Missing in: ES, FR ─────────────────────────────────────────────────────────────────────────────── 🔟 VALIDATION.PHP (الملف الأكثر مشكلة) ─────────────────────────────────────────────────────────────────────────────── ❌ ⚠️ مشكلة حرجة: جميع المفاتيح في AR (139 مفتاح) مفقودة في EN, ES, FR تم ترجمة validation.php بالكامل إلى العربية فقط: مفاتيح قواعد التحقق المترجمة (Validation Rules): • accepted, accepted_if, active_url, after, after_or_equal • alpha, alpha_dash, alpha_num, array • before, before_or_equal, between (array/file/numeric/string) • boolean, confirmed, current_password, date, date_equals, date_format • declined, declined_if, different, digits, digits_between • dimensions, distinct, doesnt_end_with, doesnt_start_with • email, ends_with, enum, exists • file, filled, gt/gte/lt/lte (array/file/numeric/string) • image, in, in_array, integer, ip (ipv4/ipv6) • json, mac_address, max/min (array/file/numeric/string) • max_digits, min_digits, mimes, mimetypes • multiple_of, not_in, not_regex, numeric • password (letters/mixed/numbers/symbols/uncompromised) • present, prohibited, prohibited_if, prohibited_unless, prohibits • regex, required (جميع المتغيرات) • same, size (array/file/numeric/string) • starts_with, string, timezone, unique, uploaded, url, uuid مفاتيح السمات (Attribute Names): • name, email, password, password_confirmation, employee_id, phone, position, department, hire_date, salary, date, check_in, check_out, status, notes, leave_type, start_date, end_date, reason, month, basic_salary, allowances, bonuses, deductions, payment_date, type, description, amount, deduction_date, is_monthly, title, interest_rate, installments_count, installment_amount, due_date, paid_date, roles, whatsapp_number, telegram_chat_id ═════════════════════════════════════════════════════════════════════════════════ 🎯 التوصيات | RECOMMENDATIONS ═════════════════════════════════════════════════════════════════════════════════ 1. 🔴 URGENT (أولوية عالية جداً): ✓ ملف validation.php: - يحتاج ترجمة كاملة إلى EN, ES, FR - عدد المفاتيح: 139 مفتاح - التأثير: عالي جداً - يؤثر على جميع رسائل التحقق من البيانات ✓ ملف payroll.php: - تم إضافة مفاتيح جديدة بدون ترجمة - الملفات المتأثرة: ES, FR (قسم labels وغيره) ✓ ملف deductions.php: - عدد كبير من المفاتيح المفقودة في ES - 30+ مفتاح يحتاج ترجمة 2. 🟠 HIGH (أولوية عالية): ✓ ملف settings.php: - 40 عملة مفقودة في AR - الحل: إضافة العملات المفقودة إلى AR أو حذفها من اللغات الأخرى ✓ ملف app.php: - 26 مشكلة توزيع - بعضها في ES والبعض الآخر في ES+FR ✓ ملف users.php: - 17 مفتاح مفقود في ES, FR 3. 🟡 MEDIUM (أولوية متوسطة): ✓ ملفات أخرى: - auth.php: 3 مفاتيح - custom.php: 5 مفاتيح - leaves.php: 3 مفاتيح - loans.php: 1 مفتاح ═════════════════════════════════════════════════════════════════════════════════ 📊 إحصائيات | STATISTICS ═════════════════════════════════════════════════════════════════════════════════ إجمالي الملفات المفحوصة: 15 ملف ملفات كاملة (بدون مشاكل): 2 ملف (activity.php, notifications.php) ملفات بها مشاكل: 13 ملف إجمالي المفاتيح المفقودة: 350+ مفتاح توزيع المشاكل حسب اللغة: - مفاتيح مفقودة في EN: ~140 مفتاح (validation.php) - مفاتيح مفقودة في ES: ~80 مفتاح (app, deductions, users, etc.) - مفاتيح مفقودة في FR: ~100 مفتاح (app, payroll, users, etc.) - مفاتيح مفقودة في AR: ~40 مفتاح (mainly from settings, loans, deductions) ═════════════════════════════════════════════════════════════════════════════════ ✅ الملفات الكاملة والمتطابقة: ✓ activity.php ✓ notifications.php ═════════════════════════════════════════════════════════════════════════════════ تم إنشاء هذا التقرير بواسطة نظام فحص الترجمات التلقائي Report generated by Automated Translation Checker