myCV/i18n.js
2026-05-12 19:44:21 +03:00

246 lines
11 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(function () {
"use strict";
var STORAGE_KEY = "cv-lang";
var STRINGS = {
en: {
doc_title: "Ahmed Alweli | CV",
btn_call: "Call Me",
btn_email: "Email Me",
btn_print: "Print CV",
btn_print_aria: "Print or save as PDF",
lang_toggle_to_ar: "Switch to Arabic",
lang_toggle_to_en: "Switch to English",
role_title: "Operations & Systems Development Specialist",
contact_location: "Baghdad, Iraq",
about:
"Experienced Operations & Systems Development Specialist with a strong background in administrative operations, process optimization, ERP development, and organizational management across engineering and technology-driven environments. Proven ability to develop and improve administrative systems, coordinate cross-functional operations, and support strategic decision-making with high standards of organization and execution.",
section_work: "Work Experience",
section_soft: "Soft Skills",
section_cert: "Certifications",
section_edu: "Education",
section_lang: "Languages",
section_tech: "Technical Skills",
job1_title: "Assistant Manager Operations & ERP Development",
job1_b1: "Assisted management in developing internal workflow systems and administrative structures.",
job1_b2: "Participated in building an integrated ERP platform for company operations management.",
job1_b3: "Coordinated between departments to improve efficiency and streamline procedures.",
job2_title: "Site Supervision",
job2_b1: "Supervised execution for the Al Baghdadi Restaurant project (Palestine Street, Baghdad).",
job2_b2: "Coordinated with contractors and suppliers for quality and schedule compliance.",
job2_b3: "Monitored on-site progress and resolved execution issues.",
job3_title: "Administration & Site Supervisor",
job3_b1: "Oversaw daily administration and coordination between design, site, and management.",
job3_b2: "Managed attendance, communications, documentation, and site compliance.",
job4_title: "Administrative Specialist",
job4_b1: "Supported project operations, scheduling, documentation, and team coordination.",
job5_title: "Senior Document Controller Basrah Water Project",
job5_b1: "Managed project documentation and administration with Arab Contractors and Hitachi.",
job5_b2: "Oversaw filing, progress tracking, invoices, and stakeholder coordination.",
job5_b3: "Standardized documentation workflows to improve efficiency and delivery.",
job6_title: "Logistics",
job6_b1: "Managed inventory, supplier coordination, and shipment tracking.",
soft_1: "Operations Management",
soft_2: "Process Optimization",
soft_3: "Digital Transformation",
soft_4: "Project Coordination",
soft_5: "Site Supervision",
soft_6: "Documentation & Compliance",
cert_1_title: "Atlassian Agile Project Management",
cert_1_desc: "Professional Certificate.",
cert_2_title: "PMI PMP Practice Exam",
cert_2_desc: "Project Management Professional.",
cert_3_title: "Project Management: Iterative Methods",
cert_3_desc: "Advanced methodology training.",
cert_4_title: "Thought Leadership",
cert_4_desc: "Certified — 2012.",
cert_5_title: "Public Speaking Foundations",
cert_5_desc: "Certified — 2012.",
cert_6_title: "Writing Articles",
cert_6_desc: "Certified — 2013.",
cert_7_title: "Critical Thinking",
cert_7_desc: "Certified — 2013.",
cert_8_title: "Emotional Intelligence",
cert_8_desc: "Certified — 2013.",
view_certificate: "View Certificate",
edu_degree: "B.Sc. in Chemistry Science",
edu_org: "University of Baghdad",
lang_ar_label: "Arabic",
lang_en_label: "English",
skill_1: "MS Excel & Office",
skill_2: "MS Project / Primavera P6",
skill_3: "AutoCAD / Revit / 3ds Max",
skill_4: "SharePoint / EDMS",
skill_5: "ERP & Workflow Design",
skill_6: "Adobe (Ps / Ai / Acrobat)",
},
ar: {
doc_title: "أحمد الوليعي | السيرة الذاتية",
btn_call: "اتصل بي",
btn_email: "البريد",
btn_print: "طباعة السيرة",
btn_print_aria: "طباعة أو حفظ PDF",
lang_toggle_to_ar: "التبديل إلى العربية",
lang_toggle_to_en: "التبديل إلى الإنجليزية",
role_title: "أخصائي عمليات وتطوير أنظمة",
contact_location: "بغداد، العراق",
about:
"أخصائي عمليات وتطوير أنظمة يتمتع بخبرة واسعة في العمليات الإدارية، وتحسين الإجراءات، وتطوير أنظمة تخطيط موارد المؤسسة (ERP)، والإدارة التنظيمية في بيئات هندسية ومعتمدة على التكنولوجيا. اثبت القدرة على تطوير الأنظمة الإدارية، وتنسيق العمل بين الأقسام، ودعم اتخاذ القرار الاستراتيجي بمعايير عالية من التنظيم والإنجاز.",
section_work: "الخبرة العملية",
section_soft: "المهارات الناعمة",
section_cert: "الشهادات والدورات",
section_edu: "التعليم",
section_lang: "اللغات",
section_tech: "المهارات التقنية",
job1_title: "مساعد مدير العمليات وتطوير ERP",
job1_b1: "المساعدة في تطوير أنظمة سير العمل والهيكل الإداري الداخلي.",
job1_b2: "المشاركة في بناء منصة ERP متكاملة لإدارة عمليات الشركة.",
job1_b3: "التنسيق بين الأقسام لرفع الكفاءة وتبسيط الإجراءات.",
job2_title: "إشراف ميداني",
job2_b1: "الإشراف على التنفيذ لمشروع مطعم البغدادي (شارع فلسطين، بغداد).",
job2_b2: "التنسيق مع المقاولين والمورّدين لضمان الجودة والالتزام بالجدول الزمني.",
job2_b3: "متابعة التقدم في الموقع وحل مشكلات التنفيذ.",
job3_title: "إدارة ميدانية وإدارية",
job3_b1: "الإشراف على العمليات الإدارية اليومية والتنسيق بين التصميم والموقع والإدارة.",
job3_b2: "إدارة الحضور والاتصالات والوثائق والالتزام في الموقع.",
job4_title: "أخصائي إداري",
job4_b1: "دعم عمليات المشاريع والجداول والوثائق وتنسيق الفريق.",
job5_title: "مسؤول وثائق أول مشروع ماء البصرة",
job5_b1: "إدارة الوثائق والشؤون الإدارية مع المقاولون العرب وهيتاشي.",
job5_b2: "متابعة الأرشفة وتقدم العمل والفواتير وتنسيق أصحاب المصلحة.",
job5_b3: "توحيد مسارات الوثائق لتحسين الكفاءة والتسليم.",
job6_title: "لوجستيات",
job6_b1: "إدارة المخزون والمورّدين وتتبع الشحنات.",
soft_1: "إدارة العمليات",
soft_2: "تحسين العمليات",
soft_3: "التحول الرقمي",
soft_4: "تنسيق المشاريع",
soft_5: "الإشراف الميداني",
soft_6: "الوثائق والامتثال",
cert_1_title: "إدارة مشروع أجايل أتلسيان",
cert_1_desc: "شهادة مهنية.",
cert_2_title: "امتحان تجريبي PMP PMI",
cert_2_desc: "محترف إدارة المشاريع.",
cert_3_title: "إدارة المشاريع: الأساليب التكرارية",
cert_3_desc: "تدريب متقدم في المنهجيات.",
cert_4_title: "القيادة الفكرية",
cert_4_desc: "معتمد — 2012.",
cert_5_title: "أساسيات التحدث أمام الجمهور",
cert_5_desc: "معتمد — 2012.",
cert_6_title: "كتابة المقالات",
cert_6_desc: "معتمد — 2013.",
cert_7_title: "التفكير النقدي",
cert_7_desc: "معتمد — 2013.",
cert_8_title: "الذكاء العاطفي",
cert_8_desc: "معتمد — 2013.",
view_certificate: "عرض الشهادة",
edu_degree: "بكالوريوس في علوم الكيمياء",
edu_org: "جامعة بغداد",
lang_ar_label: "العربية",
lang_en_label: "الإنجليزية",
skill_1: "MS Excel والأوفيس",
skill_2: "MS Project / Primavera P6",
skill_3: "AutoCAD / Revit / 3ds Max",
skill_4: "SharePoint / EDMS",
skill_5: "تخطيط موارد المؤسسة وتصميم سير العمل",
skill_6: "Adobe (Ps / Ai / Acrobat)",
},
};
function applyLang(lang) {
if (lang !== "en" && lang !== "ar") lang = "en";
var bundle = STRINGS[lang];
document.documentElement.lang = lang === "ar" ? "ar" : "en";
document.documentElement.dir = lang === "ar" ? "rtl" : "ltr";
document.body.classList.toggle("lang-ar", lang === "ar");
document.title = bundle.doc_title;
var printBtn = document.getElementById("btn-print");
if (printBtn && bundle.btn_print_aria) {
printBtn.setAttribute("aria-label", bundle.btn_print_aria);
}
var langToggle = document.getElementById("btn-lang-toggle");
if (langToggle) {
langToggle.setAttribute(
"aria-label",
lang === "en" ? bundle.lang_toggle_to_ar : bundle.lang_toggle_to_en
);
}
document.querySelectorAll("[data-i18n]").forEach(function (el) {
var key = el.getAttribute("data-i18n");
if (key && bundle[key] !== undefined) {
if (el.getAttribute("data-i18n-html") === "true") {
el.innerHTML = bundle[key];
} else {
el.textContent = bundle[key];
}
}
});
try {
localStorage.setItem(STORAGE_KEY, lang);
} catch (e) {}
}
function init() {
var saved = null;
try {
saved = localStorage.getItem(STORAGE_KEY);
} catch (e) {}
var initial = saved === "ar" || saved === "en" ? saved : "en";
applyLang(initial);
var langToggle = document.getElementById("btn-lang-toggle");
if (langToggle) {
langToggle.addEventListener("click", function () {
var next = document.documentElement.lang === "ar" ? "en" : "ar";
applyLang(next);
});
}
}
if (document.readyState === "loading") {
document.addEventListener("DOMContentLoaded", init);
} else {
init();
}
})();