var _site_lang = "AR"; var _trans_arr_he = [{ "Key": "category search", "Val": "תחום: לדוגמא הובלות" }, { "Key": "city search", "Val": "אזור: לדוגמא תל אביב" }, { "Key": "search", "Val": "חפש" }, { "Key": "Previous", "Val": "קודם" }, { "Key": "Next", "Val": "הבא" }, { "Key": "Business card", "Val": "לכרטיס העסק" }, { "Key": "Show phone", "Val": "הצג מספר" }, { "Key": "Show", "Val": "הצג" }, { "Key": "Hide", "Val": "הסתר" }, { "Key": "Open now", "Val": "פתוח עכשיו" }, { "Key": "Close now", "Val": "סגור עכשיו" }, { "Key": "Be the first to rate", "Val": "היה הראשון לדרג" }, { "Key": "Rate", "Val": "מדרגים" }, { "Key": "Business site", "Val": "לאתר העסק" }, { "Key": "Popular searches", "Val": "חיפושים פופולריים" }, { "Key": "Look for professionals and businesses", "Val": "חפש אנשי מקצוע ועסקים" }, { "Key": "Renovations and building", "Val": "שיפוצים ובניין" }, { "Key": "Music education and enrichment", "Val": "חינוך מוזיקה והעשרה" }, { "Key": "Vehicle and Transport", "Val": "רכב ותחבורה" }, { "Key": "Business consulting and service", "Val": "יעוץ ושירות עסקי" }, { "Key": "Events and leisure", "Val": "אירועים ופנאי" }, { "Key": "Maintenance and repair services", "Val": "אחזקה ושירותי תיקונים" }]; var _trans_arr_en = [{ "Key": "category search", "Val": "Category:For example, moving" }, { "Key": "city search", "Val": "Area: For example, Tel Aviv" }, { "Key": "search", "Val": "Search" }, { "Key": "Previous", "Val": "Previous" }, { "Key": "Next", "Val": "Next" }, { "Key": "Business card", "Val": "Business card" }, { "Key": "Show phone", "Val": "Show phone" }, { "Key": "Show", "Val": "Show" }, { "Key": "Hide", "Val": "Hide" }, { "Key": "Open now", "Val": "Open now" }, { "Key": "Close now", "Val": "Close now" }, { "Key": "Be the first to rate", "Val": "Be the first to rate" }, { "Key": "Rate", "Val": "Rate" }, { "Key": "Business site", "Val": "Business site" }, { "Key": "Popular searches", "Val": "Popular searches" }, { "Key": "Look for professionals and businesses", "Val": "Look for professionals and businesses" }, { "Key": "Renovations and building", "Val": "Renovations and building" }, { "Key": "Music education and enrichment", "Val": "Music education and enrichment" }, { "Key": "Vehicle and Transport", "Val": "Vehicle and Transport" }, { "Key": "Business consulting and service", "Val": "Business consulting and service" }, { "Key": "Events and leisure", "Val": "Events and leisure" }, { "Key": "Maintenance and repair services", "Val": "Maintenance and repair services" }]; var _trans_arr_ar = [{ "Key": "category search", "Val": "الفئة: على سبيل المثال ، تتحرك" }, { "Key": "city search", "Val": "المنطقة: على سبيل المثال ، تل أبيب" }, { "Key": "search", "Val": "بحث" }, { "Key": "Previous", "Val": "السابق" }, { "Key": "Next", "Val": "التالى" }, { "Key": "Business card", "Val": "بطاقة العمل" }, { "Key": "Show phone", "Val": "عرض الهاتف" }, { "Key": "Show", "Val": "تبين" }, { "Key": "Hide", "Val": "إخفاء" }, { "Key": "Open now", "Val": "مفتوح الان" }, { "Key": "Close now", "Val": "إغلاق الآن" }, { "Key": "Be the first to rate", "Val": "كن أول من يقيم" }, { "Key": "Rate", "Val": "معدل" }, { "Key": "Business site", "Val": "موقع العمل" }, { "Key": "Popular searches", "Val": "عمليات البحث الشعبية" }, { "Key": "Look for professionals and businesses", "Val": "ابحث عن المهنيين والشركات" }, { "Key": "Renovations and building", "Val": "التجديدات والبناء" }, { "Key": "Music education and enrichment", "Val": "تعليم الموسيقى والإثراء" }, { "Key": "Vehicle and Transport", "Val": "المركبات والنقل" }, { "Key": "Business consulting and service", "Val": "استشارات الأعمال والخدمات" }, { "Key": "Events and leisure", "Val": "الأحداث والترفيه" }, { "Key": "Maintenance and repair services", "Val": "خدمات الصيانة والإصلاح" }]; var _trans_arr_ru = [{ "Key": "category search", "Val": "Категория: Например, переезд" }, { "Key": "city search", "Val": "Площадь: например, Тель-Авив" }, { "Key": "search", "Val": "Поиск" }, { "Key": "Previous", "Val": "предыдущий" }, { "Key": "Next", "Val": "следующий" }, { "Key": "Business card", "Val": "визитная карточка" }, { "Key": "Show phone", "Val": "Показать телефон" }, { "Key": "Show", "Val": "Показать" }, { "Key": "Hide", "Val": "Спрятать" }, { "Key": "Open now", "Val": "Открой сейчас" }, { "Key": "Close now", "Val": "Закрыть сейчас" }, { "Key": "Be the first to rate", "Val": "Оцените первым" }, { "Key": "Rate", "Val": "Темп" }, { "Key": "Business site", "Val": "Бизнес сайт" }, { "Key": "Popular searches", "Val": "Популярные запросы" }, { "Key": "Look for professionals and businesses", "Val": "Поиск проффесионалов и предприятий" }, { "Key": "Renovations and building", "Val": "Ремонт и строительство" }, { "Key": "Music education and enrichment", "Val": "Музыкальное образование и обогащение" }, { "Key": "Vehicle and Transport", "Val": "Транспортное средство и транспорт" }, { "Key": "Business consulting and service", "Val": "Бизнес консалтинг и сервис" }, { "Key": "Events and leisure", "Val": "События и отдых" }, { "Key": "Maintenance and repair services", "Val": "Сервисное обслуживание и ремонт" }]; var _trans_arr = (_site_lang == "RU" ? _trans_arr_ru : _site_lang == "EN" ? _trans_arr_en : _site_lang == "AR" ? _trans_arr_ar : _trans_arr_he); var _trans_arr_popular_he = [{ "Key": "Plumbers", "Val": "אינסטלטורים" }, { "Key": "Electricians", "Val": "חשמלאים" }, { "Key": "restaurants", "Val": "מסעדות" }, { "Key": "Repairs", "Val": "שיפוצים" }, { "Key": "Shipping", "Val": "הובלות" }, { "Key": "Flowers and Bouquets", "Val": "פרחים" }, { "Key": "Furniture", "Val": "רהיטים" }, { "Key": "Dentists", "Val": "רופאי שיניים" }, { "Key": "Bed and Breakfasts", "Val": "צימרים" }, { "Key": "Event Halls and Gardens", "Val": "אולמות וגני אירועים" }, { "Key": "Taxis", "Val": "מוניות" }, { "Key": "Lawyers", "Val": "עורכי דין" }]; var _trans_arr_popular_en = [{ "Key": "Plumbers", "Val": "Plumbers" }, { "Key": "Electricians", "Val": "Electricians" }, { "Key": "restaurants", "Val": "restaurants" }, { "Key": "Repairs", "Val": "Repairs" }, { "Key": "Shipping", "Val": "Shipping" }, { "Key": "Flowers and Bouquets", "Val": "Flowers and Bouquets" }, { "Key": "Furniture", "Val": "Furniture" }, { "Key": "Dentists", "Val": "Dentists" }, { "Key": "Bed and Breakfasts", "Val": "Bed and Breakfasts" }, { "Key": "Event Halls and Gardens", "Val": "Event Halls and Gardens" }, { "Key": "Taxis", "Val": "Taxis" }, { "Key": "Lawyers", "Val": "Lawyers" }]; var _trans_arr_popular_ar = [{ "Key": "Plumbers", "Val": "مواسرجيون" }, { "Key": "Electricians", "Val": "كهربائيون" }, { "Key": "restaurants", "Val": "مطاعم" }, { "Key": "Repairs", "Val": "ترميمات" }, { "Key": "Shipping", "Val": "نقل" }, { "Key": "Flowers and Bouquets", "Val": "زهور وباقات زهور" }, { "Key": "Furniture", "Val": "اثاث" }, { "Key": "Dentists", "Val": "اطباء أسنان" }, { "Key": "Bed and Breakfasts", "Val": "غرف استضافة" }, { "Key": "Event Halls and Gardens", "Val": "قاعات وحدائق مناسبات" }, { "Key": "Taxis", "Val": "سيارات أجرة" }, { "Key": "Lawyers", "Val": "محامون" }]; var _trans_arr_popular_ru = [{ "Key": "Plumbers", "Val": "Сантехники" }, { "Key": "Electricians", "Val": "Электрики" }, { "Key": "restaurants", "Val": "Рестораны" }, { "Key": "Repairs", "Val": "Ремонтные работы" }, { "Key": "Shipping", "Val": "Транспортировка" }, { "Key": "Flowers and Bouquets", "Val": "Цветы и букеты" }, { "Key": "Furniture", "Val": "Мебель" }, { "Key": "Dentists", "Val": "Стоматологи" }, { "Key": "Bed and Breakfasts", "Val": "Комнаты для отдыха" }, { "Key": "Event Halls and Gardens", "Val": "Залы и сады для торжеств" }, { "Key": "Taxis", "Val": "Такси" }, { "Key": "Lawyers", "Val": "Адвокаты" }]; var _trans_arr_popular = (_site_lang == "RU" ? _trans_arr_popular_ru : _site_lang == "EN" ? _trans_arr_popular_en : _site_lang == "AR" ? _trans_arr_popular_ar : _trans_arr_popular_he); var _trans_arr_home_he = [{ "Key": "Alarm Protection and Security Systems", "Val": "מערכות אזעקה מיגון ואבטחה" }, { "Key": "Shipping", "Val": "הובלות" }, { "Key": "Plaster Works", "Val": "עבודות גבס" }, { "Key": "interior design", "Val": "עיצוב פנים" }, { "Key": "Cleaning and Maintenance Companies", "Val": "חברות ניקיון ואחזקה" }]; var _trans_arr_home_en = [{ "Key": "Alarm Protection and Security Systems", "Val": "Alarm Protection and Security Systems" }, { "Key": "Shipping", "Val": "Shipping" }, { "Key": "Plaster Works", "Val": "Plaster Works" }, { "Key": "interior design", "Val": "interior design" }, { "Key": "Cleaning and Maintenance Companies", "Val": "Cleaning and Maintenance Companies" }]; var _trans_arr_home_ar = [{ "Key": "Alarm Protection and Security Systems", "Val": "اجهزة إنذار حماية وأمان" }, { "Key": "Shipping", "Val": "نقل" }, { "Key": "Plaster Works", "Val": "أعمال جبص" }, { "Key": "interior design", "Val": "تصميم داخلي" }, { "Key": "Cleaning and Maintenance Companies", "Val": "شركات تنظيف وصيانة" }]; var _trans_arr_home_ru = [{ "Key": "Alarm Protection and Security Systems", "Val": "Системы сигнализации защиты и безопасности" }, { "Key": "Shipping", "Val": "Транспортировка" }, { "Key": "Plaster Works", "Val": "Гипсовые работы" }, { "Key": "interior design", "Val": "Внутренний дизайн" }, { "Key": "Cleaning and Maintenance Companies", "Val": "Компании по уборке и техобслуживанию" }]; var _trans_arr_home = (_site_lang == "RU" ? _trans_arr_home_ru : _site_lang == "EN" ? _trans_arr_home_en : _site_lang == "AR" ? _trans_arr_home_ar : _trans_arr_home_he); var _trans_arr_auto_he = [{ "Key": "Garages", "Val": "מוסכים" }, { "Key": "Transportation", "Val": "הסעות" }, { "Key": "24 Hour Auto rental", "Val": "השכרת רכב 24 שעות" }, { "Key": "Auto Accessories", "Val": "אביזרים לרכב" }, { "Key": "Leasing", "Val": "ליסינג" }]; var _trans_arr_auto_en = [{ "Key": "Garages", "Val": "Garages" }, { "Key": "Transportation", "Val": "Transportation" }, { "Key": "24 Hour Auto rental", "Val": "24 Hour Auto rental" }, { "Key": "Auto Accessories", "Val": "Auto Accessories" }, { "Key": "Leasing", "Val": "Leasing" }]; var _trans_arr_auto_ar = [{ "Key": "Garages", "Val": "كراجات" }, { "Key": "Transportation", "Val": "مواصلات وسفريات" }, { "Key": "24 Hour Auto rental", "Val": "تأجير سيارات 24 ساعة" }, { "Key": "Auto Accessories", "Val": "قطع للسيارة" }, { "Key": "Leasing", "Val": "ليسينغ" }]; var _trans_arr_auto_ru = [{ "Key": "Garages", "Val": "Гаражи" }, { "Key": "Transportation", "Val": "Транспорт и перевозки" }, { "Key": "24 Hour Auto rental", "Val": "Аренда автомобилей 24 часа" }, { "Key": "Auto Accessories", "Val": "Автомобильные принадлежности" }, { "Key": "Leasing", "Val": "Лизинг" }]; var _trans_arr_auto = (_site_lang == "RU" ? _trans_arr_auto_ru : _site_lang == "EN" ? _trans_arr_auto_en : _site_lang == "AR" ? _trans_arr_auto_ar : _trans_arr_auto_he); var _trans_arr_business_he = [{ "Key": "Professional Guidance", "Val": "ייעוץ והכוונה מקצועית" }, { "Key": "Deliveries", "Val": "שליחויות" }, { "Key": "Personal Training", "Val": "אימון אישי coaching" }, { "Key": "Translation Services", "Val": "שירותי תרגום" }]; var _trans_arr_business_en = [{ "Key": "Professional Guidance", "Val": "Professional Guidance" }, { "Key": "Deliveries", "Val": "Deliveries" }, { "Key": "Personal Training", "Val": "Personal Training" }, { "Key": "Translation Services", "Val": "Translation Services" }]; var _trans_arr_business_ar = [{ "Key": "Professional Guidance", "Val": "استشارة وتوجيه مهني" }, { "Key": "Deliveries", "Val": "ارساليات" }, { "Key": "Personal Training", "Val": "تدريب شخصي" }, { "Key": "Translation Services", "Val": "خدمات ترجمة" }]; var _trans_arr_business_ru = [{ "Key": "Professional Guidance", "Val": "Консультации при выборе профессии" }, { "Key": "Deliveries", "Val": "Посланники" }, { "Key": "Personal Training", "Val": "Личный тренинг" }, { "Key": "Translation Services", "Val": "Переводческие услуги" }]; var _trans_arr_business = (_site_lang == "RU" ? _trans_arr_business_ru : _site_lang == "EN" ? _trans_arr_business_en : _site_lang == "AR" ? _trans_arr_business_ar : _trans_arr_business_he); var _trans_arr_event_he = [{ "Key": "Performers", "Val": "אמני בידור" }, { "Key": "Photography and Editing Studios", "Val": "אולפני צילום ועריכה" }, { "Key": "Event Production and Design", "Val": "הפקות ועיצוב אירועים" }, { "Key": "Event Halls and Gardens", "Val": "אולמות וגני אירועים" }]; var _trans_arr_event_en = [{ "Key": "Performers", "Val": "Performers" }, { "Key": "Photography and Editing Studios", "Val": "Photography and Editing Studios" }, { "Key": "Event Production and Design", "Val": "Event Production and Design" }, { "Key": "Event Halls and Gardens", "Val": "Event Halls and Gardens" }]; var _trans_arr_event_ar = [{ "Key": "Performers", "Val": "فنانو ترفيه" }, { "Key": "Photography and Editing Studios", "Val": "استوديوهات تصوير وتحرير" }, { "Key": "Event Production and Design", "Val": "انتاج وتصميم مناسبات" }, { "Key": "Event Halls and Gardens", "Val": "قاعات وحدائق مناسبات" }]; var _trans_arr_event_ru = [{ "Key": "Performers", "Val": "Массовики-затейники" }, { "Key": "Photography and Editing Studios", "Val": "Студии видеосъемки и редактирования" }, { "Key": "Event Production and Design", "Val": "Организация и дизайн торжеств" }, { "Key": "Event Halls and Gardens", "Val": "Залы и сады для торжеств" }]; var _trans_arr_event = (_site_lang == "RU" ? _trans_arr_event_ru : _site_lang == "EN" ? _trans_arr_event_en : _site_lang == "AR" ? _trans_arr_event_ar : _trans_arr_event_he); var _trans_arr_repairs_he = [{ "Key": "Repairs", "Val": "שיפוצים" }, { "Key": "Building Contractor", "Val": "קבלן בניין" }, { "Key": "Plaster Supplier", "Val": "מוצרי גבס" }, { "Key": "Electricians", "Val": "חשמלאים" }, { "Key": "Roof Tarring", "Val": "זיפות גגות" }]; var _trans_arr_repairs_en = [{ "Key": "Repairs", "Val": "Repairs" }, { "Key": "Building Contractor", "Val": "Building Contractor" }, { "Key": "Plaster Supplier", "Val": "Plaster Supplier" }, { "Key": "Electricians", "Val": "Electricians" }, { "Key": "Roof Tarring", "Val": "Roof Tarring" }]; var _trans_arr_repairs_ar = [{ "Key": "Repairs", "Val": "ترميمات" }, { "Key": "Building Contractor", "Val": "مقاول بناء" }, { "Key": "Plaster Supplier", "Val": "منتجات جبص" }, { "Key": "Electricians", "Val": "كهربائيون" }, { "Key": "Roof Tarring", "Val": "تزفيت سطوح" }]; var _trans_arr_repairs_ru = [{ "Key": "Repairs", "Val": "Ремонтные работы" }, { "Key": "Building Contractor", "Val": "Строительный подрядчик" }, { "Key": "Plaster Supplier", "Val": "Гипсовые изделия" }, { "Key": "Electricians", "Val": "Электрики" }, { "Key": "Roof Tarring", "Val": "Покрытие крыш битумом" }]; var _trans_arr_repairs = (_site_lang == "RU" ? _trans_arr_repairs_ru : _site_lang == "EN" ? _trans_arr_repairs_en : _site_lang == "AR" ? _trans_arr_repairs_ar : _trans_arr_repairs_he); var _trans_arr_services_he = [{ "Key": "Computer Maintenance and Services", "Val": "אחזקה ושירות למחשבים" }, { "Key": "Electric Product Repair", "Val": "תיקון מוצרי חשמל" }, { "Key": "Plumbers", "Val": "אינסטלטורים" }, { "Key": "Spray", "Val": "ריסוס" }]; var _trans_arr_services_en = [{ "Key": "Computer Maintenance and Services", "Val": "Computer Maintenance and Services" }, { "Key": "Electric Product Repair", "Val": "Electric Product Repair" }, { "Key": "Plumbers", "Val": "Plumbers" }, { "Key": "Spray", "Val": "Spray" }]; var _trans_arr_services_ar = [{ "Key": "Computer Maintenance and Services", "Val": "صيانة وخدمات للحواسيب" }, { "Key": "Electric Product Repair", "Val": "تصليح منتجات كهربائية" }, { "Key": "Plumbers", "Val": "مواسرجيون" }, { "Key": "Spray", "Val": "رش مبيدات" }]; var _trans_arr_services_ru = [{ "Key": "Computer Maintenance and Services", "Val": "Техобслуживание и обслуживание компьютеров" }, { "Key": "Electric Product Repair", "Val": "Ремонт электроприборов" }, { "Key": "Plumbers", "Val": "Сантехники" }, { "Key": "Spray", "Val": "Орошение" }]; var _trans_arr_services = (_site_lang == "RU" ? _trans_arr_services_ru : _site_lang == "EN" ? _trans_arr_services_en : _site_lang == "AR" ? _trans_arr_services_ar : _trans_arr_services_he); var _trans_arr_animals_he = [{ "Key": "Dog Training", "Val": "אילוף בעלי חיים" }, { "Key": "Dog and Cat Hairdressing", "Val": "מספרות לבעלי חיים" }, { "Key": "Veterinaries", "Val": "וטרינרים" }]; var _trans_arr_animals_en = [{ "Key": "Dog Training", "Val": "Dog Training" }, { "Key": "Dog and Cat Hairdressing", "Val": "Dog and Cat Hairdressing" }, { "Key": "Veterinaries", "Val": "Veterinaries" }]; var _trans_arr_animals_ar = [{ "Key": "Dog Training", "Val": "ترويض كلاب" }, { "Key": "Dog and Cat Hairdressing", "Val": "محالق كلاب وقطط" }, { "Key": "Veterinaries", "Val": "بيطريون" }]; var _trans_arr_animals_ru = [{ "Key": "Dog Training", "Val": "Дрессировка собак" }, { "Key": "Dog and Cat Hairdressing", "Val": "Парикмахерские для кошек и собак" }, { "Key": "Veterinaries", "Val": "Ветеринары" }]; var _trans_arr_animals = (_site_lang == "RU" ? _trans_arr_animals_ru : _site_lang == "EN" ? _trans_arr_animals_en : _site_lang == "AR" ? _trans_arr_animals_ar : _trans_arr_animals_he); var _trans_arr_education_he = [{ "Key": "Private Teachers", "Val": "מורים פרטיים" }, { "Key": "Classes and Workshops", "Val": "חוגים" }, { "Key": "Driving Instruction", "Val": "לימוד נהיגה" }, { "Key": "Theater Studies", "Val": "לימודי שפות" }]; var _trans_arr_education_en = [{ "Key": "Private Teachers", "Val": "Private Teachers" }, { "Key": "Classes and Workshops", "Val": "Classes and Workshops" }, { "Key": "Driving Instruction", "Val": "Driving Instruction" }, { "Key": "Theater Studies", "Val": "Theater Studies" }]; var _trans_arr_education_ar = [{ "Key": "Private Teachers", "Val": "معلمون خاصون" }, { "Key": "Classes and Workshops", "Val": "حلقات وورشات" }, { "Key": "Driving Instruction", "Val": "تعليم سياقة" }, { "Key": "Theater Studies", "Val": "تعليم فنون المسرح" }]; var _trans_arr_education_ru = [{ "Key": "Private Teachers", "Val": "Частные учителя" }, { "Key": "Classes and Workshops", "Val": "Кружки и курсы обучения" }, { "Key": "Driving Instruction", "Val": "Обучение вождению" }, { "Key": "Theater Studies", "Val": "Обучение сценическим искусствам" }]; var _trans_arr_education = (_site_lang == "RU" ? _trans_arr_education_ru : _site_lang == "EN" ? _trans_arr_education_en : _site_lang == "AR" ? _trans_arr_education_ar : _trans_arr_education_he); function transFilter(key, type) { var _trans = _trans_arr; switch (type) { case "popular":// _trans = _trans_arr_popular; break; case "auto":// _trans = _trans_arr_auto; break; case "business":// _trans = _trans_arr_business; break; case "event":// _trans = _trans_arr_event; break; case "repairs":// _trans = _trans_arr_repairs; break; case "services":// _trans = _trans_arr_services; break; case "animals": _trans = _trans_arr_animals; break; case "education":// _trans = _trans_arr_education; break; } return Translate(key, _trans); }; function Translate(key, _trans) { if (_trans != null && _trans.length > 0) { var result = _trans.filter(function (item) { return item.Key.toLowerCase() == key.toLowerCase(); }); if (result != null && result.length > 0) { return result[0].Val; } } return key; }