fixing translation
This commit is contained in:
192
src/i18n.js
192
src/i18n.js
@ -5,6 +5,7 @@ import LanguageDetector from "i18next-browser-languagedetector";
|
||||
const resources = {
|
||||
en: {
|
||||
translation: {
|
||||
dir: "ltr",
|
||||
nav: {
|
||||
home: "Home",
|
||||
services: "Services",
|
||||
@ -154,7 +155,75 @@ Work Areas: Ready to implement works in all Syrian governorates`,
|
||||
copyright: "© {{year}} REXNT - All rights reserved"
|
||||
},
|
||||
|
||||
// departmentDetail2 (EN)
|
||||
// main department block
|
||||
department: {
|
||||
hero: {
|
||||
expertiseBadge: "Department Expertise",
|
||||
expertiseTitle: "Integrated expertise for industrial facilities",
|
||||
expertiseSubtitle: "This section covers studies, design, implementation and supervision of industrial production lines and facilities.",
|
||||
servicesBadge: "Services",
|
||||
servicesTitle: "Our Services",
|
||||
servicesSubtitle: "Maintenance, rehabilitation and technical support services for industrial facilities.",
|
||||
worksBadge: "Executed Works",
|
||||
worksTitle: "Executed Works",
|
||||
worksSubtitle: "Showcasing completed projects and timeline.",
|
||||
heroAlt: "Industrial Facilities"
|
||||
},
|
||||
sectionTitle: "Industrial Facilities & Production Lines Department",
|
||||
dir: "ltr",
|
||||
buttons: {
|
||||
expertise: "Department Expertise",
|
||||
services: "Services",
|
||||
works: "Executed Works"
|
||||
},
|
||||
clickForDetails: "Click to view details",
|
||||
backToMenu: "Back to main menu",
|
||||
expertiseItems: [
|
||||
"Feasibility studies, profitability and risk analysis for industrial and engineering projects",
|
||||
"Preliminary, final and detailed engineering studies",
|
||||
"Execution and shop drawing design",
|
||||
"Construction of civil, architectural and metal works for industrial facilities",
|
||||
"Manufacturing and installation of production lines (local and imported)",
|
||||
"Mechanical, electrical and control systems implementation",
|
||||
"Supervision of trial operation and technical staff training"
|
||||
],
|
||||
servicesItems: [
|
||||
"Routine and preventive maintenance",
|
||||
"Emergency maintenance and fault resolution",
|
||||
"Rehabilitation and technical upgrades",
|
||||
"Technical condition assessment and inspection",
|
||||
"Engineering inspection according to international standards",
|
||||
"Improving operational efficiency and reducing downtime costs"
|
||||
],
|
||||
defaultProjects: [
|
||||
{
|
||||
year: "1999-2015",
|
||||
items: [
|
||||
"Design, manufacture and installation of rolling and mill structures (Al-Wahib projects)",
|
||||
"Metal works for Al-Arabiya and Al-International rolling lines"
|
||||
]
|
||||
},
|
||||
{ year: "2001", items: ["Operation and maintenance works for Al-Wahib stock line"] },
|
||||
{ year: "2002", items: ["Operation and maintenance works for Al-Arabiya rolling line"] },
|
||||
{ year: "2004", items: ["Various rolling and manufacturing works"] },
|
||||
{
|
||||
year: "2016",
|
||||
items: ["Design and implementation of rolling lines (Al-Anam)", "Industrial turnkey projects design and execution"]
|
||||
},
|
||||
{ year: "2016-2017", items: ["Global training 600 t/day", "Food industry training"] },
|
||||
{ year: "2017", items: ["Preliminary study for Al-Shams plant (Al-Asafi - Homs)"] },
|
||||
{
|
||||
year: "2019",
|
||||
items: ["Rehabilitation and maintenance of loading and stock systems at Tartous port", "Preliminary study for Al-Shams measurement systems"]
|
||||
},
|
||||
{ year: "2020", items: ["Completion of preliminary study for Al-Shams measurement systems"] },
|
||||
{ year: "2021", items: ["Design works for Al-Muttahida plant - Abu Al-Shamat"] },
|
||||
{ year: "2022", items: ["Completion of facilitation works for Al-Muttahida", "Al-Muthanna rapid manufacturing plant - Tartous"] },
|
||||
{ year: "2023", items: ["Various manufacturing and rolling projects"] }
|
||||
]
|
||||
},
|
||||
|
||||
// department detail english sections (optional per-department)
|
||||
departmentDetail2: {
|
||||
hero: {
|
||||
defaultTitle: "Residential & Service Facilities Department",
|
||||
@ -195,7 +264,6 @@ Work Areas: Ready to implement works in all Syrian governorates`,
|
||||
ui: { servicesProfessional: "Comprehensive professional services", clickToView: "Click to view details" }
|
||||
},
|
||||
|
||||
// departmentDetail3 (EN)
|
||||
departmentDetail3: {
|
||||
hero: {
|
||||
defaultTitle: "Building Rehabilitation & Maintenance Department",
|
||||
@ -231,7 +299,6 @@ Work Areas: Ready to implement works in all Syrian governorates`,
|
||||
ui: { servicesProfessional: "Comprehensive professional services", clickToView: "Click to view details" }
|
||||
},
|
||||
|
||||
// departmentDetail4 (EN)
|
||||
departmentDetail4: {
|
||||
hero: {
|
||||
defaultTitle: "Fuel Stations & Oil Facilities Department",
|
||||
@ -295,7 +362,6 @@ Work Areas: Ready to implement works in all Syrian governorates`,
|
||||
}
|
||||
},
|
||||
|
||||
// departmentDetail5 (EN)
|
||||
departmentDetail5: {
|
||||
hero: {
|
||||
defaultTitle: "Technical & Engineering Inspection Department",
|
||||
@ -367,7 +433,6 @@ Work Areas: Ready to implement works in all Syrian governorates`,
|
||||
}
|
||||
},
|
||||
|
||||
// departmentDetail6 (EN)
|
||||
departmentDetail6: {
|
||||
hero: {
|
||||
defaultTitle: "Strategic Projects Department",
|
||||
@ -455,7 +520,6 @@ Work Areas: Ready to implement works in all Syrian governorates`,
|
||||
}
|
||||
},
|
||||
|
||||
// departmentDetail7 (EN)
|
||||
departmentDetail7: {
|
||||
hero: {
|
||||
defaultTitle: "Metal Works & Industrial Support Department",
|
||||
@ -511,7 +575,6 @@ Work Areas: Ready to implement works in all Syrian governorates`,
|
||||
ui: { servicesProfessional: "Comprehensive professional services", clickToView: "Click to view details" }
|
||||
},
|
||||
|
||||
// departmentDetail8 (EN)
|
||||
departmentDetail8: {
|
||||
hero: {
|
||||
defaultTitle: "Services & Logistic Support Department",
|
||||
@ -572,7 +635,6 @@ Work Areas: Ready to implement works in all Syrian governorates`,
|
||||
backToMenu: "Back to main menu"
|
||||
},
|
||||
|
||||
// --- NEW: departmentDetail9 (EN) ---
|
||||
departmentDetail9: {
|
||||
hero: {
|
||||
defaultTitle: "Automation & Control Department",
|
||||
@ -635,8 +697,10 @@ Work Areas: Ready to implement works in all Syrian governorates`,
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
ar: {
|
||||
translation: {
|
||||
dir: "rtl",
|
||||
nav: {
|
||||
home: "الرئيسية",
|
||||
services: "الخدمات",
|
||||
@ -781,7 +845,74 @@ Work Areas: Ready to implement works in all Syrian governorates`,
|
||||
copyright: "© {{year}} REXNT - جميع الحقوق محفوظة"
|
||||
},
|
||||
|
||||
// departmentDetail2 (AR)
|
||||
// main Arabic department block
|
||||
department: {
|
||||
hero: {
|
||||
expertiseBadge: "اختصاص القسم",
|
||||
expertiseTitle: "اختصاصات وحلول للمرافق الصناعية",
|
||||
expertiseSubtitle: "يُغطي هذا القسم الدراسات، التصميم، التنفيذ والإشراف على خطوط الإنتاج والمنشآت الصناعية.",
|
||||
servicesBadge: "الخدمات",
|
||||
servicesTitle: "خدماتنا",
|
||||
servicesSubtitle: "الصيانة، التأهيل والدعم الفني للمنشآت الصناعية.",
|
||||
worksBadge: "الأعمال المنفذة",
|
||||
worksTitle: "الأعمال المنفذة",
|
||||
worksSubtitle: "عرض للمشروعات المنجزة وخط الزمن الخاص بها.",
|
||||
heroAlt: "المنشآت الصناعية"
|
||||
},
|
||||
sectionTitle: "قسم إنشاء وصيانة المنشآت الصناعية وخطوط الإنتاج",
|
||||
dir: "rtl",
|
||||
buttons: {
|
||||
expertise: "اختصاص القسم",
|
||||
services: "الخدمات",
|
||||
works: "الأعمال المنفذة"
|
||||
},
|
||||
clickForDetails: "انقر للاطّلاع على التفاصيل",
|
||||
backToMenu: "العودة للقائمة الرئيسية",
|
||||
expertiseItems: [
|
||||
"دراسات الجدوى وتحليل الربحية والمخاطر للمشاريع الصناعية والهندسية",
|
||||
"الدراسات الهندسية الأولية والنهائية والتفصيلية",
|
||||
"تصميم المخططات التنفيذية ورسومات الورشة",
|
||||
"تنفيذ الأعمال المدنية والمعمارية والمعدنية للمنشآت الصناعية",
|
||||
"تصنيع وتركيب خطوط الإنتاج محليًا أو تركيب خطوط مستوردة",
|
||||
"تنفيذ الأعمال الميكانيكية والكهربائية وأنظمة التحكم",
|
||||
"الإشراف على التشغيل التجريبي وتدريب الكوادر الفنية"
|
||||
],
|
||||
servicesItems: [
|
||||
"الصيانة الدورية والوقائية",
|
||||
"الصيانة الطارئة ومعالجة الأعطال",
|
||||
"إعادة التأهيل والتحديث الفني للمنشآت",
|
||||
"فحص وتقييم الحالة الفنية للتجهيزات والآلات",
|
||||
"أعمال التفتيش الفني والهندسي وفق المعايير الدولية",
|
||||
"رفع كفاءة التشغيل وتقليل تكاليف التوقف"
|
||||
],
|
||||
defaultProjects: [
|
||||
{
|
||||
year: "1999-2015",
|
||||
items: [
|
||||
"دراسة وتصميم وتنفيذ المنشآت والهياكل لخطوط الدرفلة واللف (مشاريع الوهيب)",
|
||||
"أعمال معدنية لخطوط درفلة العربية والدرفلة الدولية"
|
||||
]
|
||||
},
|
||||
{ year: "2001", items: ["أعمال تشغيل وصيانة لدورة الوهيب"] },
|
||||
{ year: "2002", items: ["أعمال تشغيل وصيانة لدورة العربية للدرفلة"] },
|
||||
{ year: "2004", items: ["أعمال متنوعة في مجال الدرفلة والتصنيع"] },
|
||||
{
|
||||
year: "2016",
|
||||
items: ["تصميم وتنفيذ خطوط درفلة (الأنام)", "مشروعات تسليم مفتاح صناعية"]
|
||||
},
|
||||
{ year: "2016-2017", items: ["تدريب عالمي 600 طن/يوم", "تدريب للصناعات الغذائية"] },
|
||||
{ year: "2017", items: ["دراسة تأهيلية لمعطف الشـمس (العسافي - حمص)"] },
|
||||
{
|
||||
year: "2019",
|
||||
items: ["إعادة تأهيل وصيانة أنظمة التحميل والتخزين في مرفأ طرطوس", "دراسة تأهيلية لأنظمة قياس الشمس"]
|
||||
},
|
||||
{ year: "2020", items: ["استكمال الدراسة التأهيلية لأنظمة قياس الشمس"] },
|
||||
{ year: "2021", items: ["أعمال تصميم لمعمل المتحدة - أبو الشامات"] },
|
||||
{ year: "2022", items: ["استكمال أعمال التيسير لمعمل المتحدة", "معمل المثنى للتصنيع السريع - طرطوس"] },
|
||||
{ year: "2023", items: ["مشروعات متنوعة في مجال التصنيع والدرفلة"] }
|
||||
]
|
||||
},
|
||||
|
||||
departmentDetail2: {
|
||||
hero: {
|
||||
defaultTitle: "قسم تنفيذ المرافق السكنيه والخدمية",
|
||||
@ -822,7 +953,6 @@ Work Areas: Ready to implement works in all Syrian governorates`,
|
||||
ui: { servicesProfessional: "خدمات احترافية متكاملة", clickToView: "انقر للاطّلاع على التفاصيل" }
|
||||
},
|
||||
|
||||
// departmentDetail3 (AR)
|
||||
departmentDetail3: {
|
||||
hero: {
|
||||
defaultTitle: "قسم إعادة التأهيل وصيانة المباني",
|
||||
@ -857,7 +987,6 @@ Work Areas: Ready to implement works in all Syrian governorates`,
|
||||
ui: { servicesProfessional: "خدمات احترافية متكاملة", clickToView: "انقر للاطّلاع على التفاصيل" }
|
||||
},
|
||||
|
||||
// departmentDetail4 (AR)
|
||||
departmentDetail4: {
|
||||
hero: {
|
||||
defaultTitle: "قسم محطات الوقود وصيانة المنشآت النفطية",
|
||||
@ -874,7 +1003,7 @@ Work Areas: Ready to implement works in all Syrian governorates`,
|
||||
"1": "اختصاص القسم",
|
||||
"3": "الأعمال المنفذة",
|
||||
clickForDetails: "انقر للاطّلاع على التفاصيل",
|
||||
backToMenu: "العودة للقائمة الرئيسية"
|
||||
backToMenu: "الالعودة للقائمة الرئيسية"
|
||||
},
|
||||
projectsTimeline: {
|
||||
defaultProjects: [
|
||||
@ -908,14 +1037,13 @@ Work Areas: Ready to implement works in all Syrian governorates`,
|
||||
"صيانة المضخات والعدادات ومعايرتها.",
|
||||
"تنظيف وتفتيش الخزانات وتقييم عمرها الفني.",
|
||||
"توريد وتركيب التجهيزات المقاومة للانفجار.",
|
||||
"الالتزام الصارم بإجراءات السلامة والصحة والبيئة.",
|
||||
"الالتزام الصارم بإجراءات السلامة والصحة والالبيئة.",
|
||||
"الجاهزية للعمل على مدار 24/7 في جميع المحافظات.",
|
||||
"تركيب أنظمة المراقبة والإنذار المبكر والإطفاء الآلي."
|
||||
],
|
||||
ui: { servicesProfessional: "خدمات احترافية متكاملة", clickToView: "انقر للاطّلاع على التفاصيل" }
|
||||
},
|
||||
|
||||
// departmentDetail5 (AR)
|
||||
departmentDetail5: {
|
||||
hero: {
|
||||
defaultTitle: "قسم التفتيش والفحص الفني و الهندسي",
|
||||
@ -984,7 +1112,6 @@ Work Areas: Ready to implement works in all Syrian governorates`,
|
||||
ui: { servicesProfessional: "خدمات احترافية متكاملة", clickToView: "انقر للاطّلاع على التفاصيل" }
|
||||
},
|
||||
|
||||
// departmentDetail6 (AR)
|
||||
departmentDetail6: {
|
||||
hero: {
|
||||
defaultTitle: "قسم المشاريع الاستراتيجية",
|
||||
@ -1069,7 +1196,6 @@ Work Areas: Ready to implement works in all Syrian governorates`,
|
||||
ui: { servicesProfessional: "خدمات احترافية متكاملة", clickToView: "انقر للاطّلاع على التفاصيل" }
|
||||
},
|
||||
|
||||
// departmentDetail7 (AR)
|
||||
departmentDetail7: {
|
||||
hero: {
|
||||
defaultTitle: "قسم الاعمال المعدنية والدعم الصناعي",
|
||||
@ -1125,7 +1251,6 @@ Work Areas: Ready to implement works in all Syrian governorates`,
|
||||
ui: { servicesProfessional: "خدمات احترافية متكاملة", clickToView: "انقر للاطّلاع على التفاصيل" }
|
||||
},
|
||||
|
||||
// departmentDetail8 (AR)
|
||||
departmentDetail8: {
|
||||
hero: {
|
||||
defaultTitle: "قسم الخدمات والدعم اللوجستي",
|
||||
@ -1141,7 +1266,7 @@ Work Areas: Ready to implement works in all Syrian governorates`,
|
||||
"1": "اختصاص القسم",
|
||||
"2": "الاعمال المنفذة",
|
||||
clickForDetails: "انقر للاطّلاع على التفاصيل",
|
||||
backToMenu: "العودة للقائمة الرئيسية"
|
||||
backToMenu: "الالعودة للقائمة الرئيسية"
|
||||
},
|
||||
projectsTimeline: {
|
||||
defaultProjects: [
|
||||
@ -1179,14 +1304,10 @@ Work Areas: Ready to implement works in all Syrian governorates`,
|
||||
"إدارة المخازن والمستودعات.",
|
||||
"دعم العمليات التشغيلية للمشاريع الصناعية والنفطية والهندسية."
|
||||
],
|
||||
ui: {
|
||||
servicesProfessional: "خدمات احترافية متكاملة",
|
||||
clickToView: "انقر للاطّلاع على التفاصيل"
|
||||
},
|
||||
backToMenu: "العودة للقائمة الرئيسية"
|
||||
ui: { servicesProfessional: "خدمات احترافية متكاملة", clickToView: "انقر للاطّلاع على التفاصيل" },
|
||||
backToMenu: "الالعودة للقائمة الرئيسية"
|
||||
},
|
||||
|
||||
// --- NEW: departmentDetail9 (AR) ---
|
||||
departmentDetail9: {
|
||||
hero: {
|
||||
defaultTitle: "قسم الأتمتة والتحكم",
|
||||
@ -1202,7 +1323,7 @@ Work Areas: Ready to implement works in all Syrian governorates`,
|
||||
"1": "اختصاص القسم",
|
||||
"2": "الأعمال المنفذة",
|
||||
clickForDetails: "انقر للاطّلاع على التفاصيل",
|
||||
backToMenu: "العودة للقائمة الرئيسية"
|
||||
backToMenu: "الالعودة للقائمة الرئيسية"
|
||||
},
|
||||
projectsTimeline: {
|
||||
defaultProjects: [
|
||||
@ -1241,11 +1362,8 @@ Work Areas: Ready to implement works in all Syrian governorates`,
|
||||
"ربط الأنظمة التشغيلية بالحلول البرمجية.",
|
||||
"تحليل الأعطال، الصيانة التنبؤية، وتحسين كفاءة التشغيل."
|
||||
],
|
||||
ui: {
|
||||
servicesProfessional: "خدمات احترافية متكاملة",
|
||||
clickToView: "انقر للاطّلاع على التفاصيل"
|
||||
},
|
||||
backToMenu: "العودة للقائمة الرئيسية"
|
||||
ui: { servicesProfessional: "خدمات احترافية متكاملة", clickToView: "انقر للاطّلاع على التفاصيل" },
|
||||
backToMenu: "الالعودة للقائمة الرئيسية"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1256,14 +1374,22 @@ i18n
|
||||
.use(initReactI18next)
|
||||
.init({
|
||||
resources,
|
||||
fallbackLng: "en",
|
||||
fallbackLng: "ar",
|
||||
supportedLngs: ["en", "ar"],
|
||||
nonExplicitSupportedLngs: false,
|
||||
debug: false,
|
||||
ns: ["translation"],
|
||||
defaultNS: "translation",
|
||||
returnObjects: true,
|
||||
interpolation: {
|
||||
escapeValue: false
|
||||
},
|
||||
detection: {
|
||||
order: ["localStorage", "navigator"],
|
||||
caches: ["localStorage"]
|
||||
order: ["localStorage", "cookie", "navigator"],
|
||||
caches: ["localStorage", "cookie"]
|
||||
},
|
||||
react: {
|
||||
useSuspense: false
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user