<?php
//------------------------------------------------------------------------------             
//*** Arabic (ar)
//------------------------------------------------------------------------------
function setLanguage(){ 
    $lang['='] = "=";  // "equal"; 
    $lang['>'] = ">";  // "bigger"; 
    $lang['<'] = "<";  // "smaller";            
    $lang['add'] = "إضافة"; 
    $lang['add_new'] = "إضافة جديدة +"; 
    $lang['add_new_record'] = "إضافة سجل جديد";
    $lang['add_new_record_blocked'] = "Security check: attempt of adding a new record! Check your settings, the operation is not allowed!";
    $lang['adding_operation_completed'] = " !عملية الإضافة تمت بنجاح ";
    $lang['adding_operation_uncompleted'] = " !عملية الإضافة لم تتم ";
    $lang['alert_perform_operation'] = "Are you sure you want to carry out this operation?";
    $lang['alert_select_row'] = "You need to select one or more rows to carry out this operation!";
    $lang['and'] = "and";
    $lang['any'] = "any";                                                 
    $lang['ascending'] = "ترتيب تصاعدي"; 
    $lang['back'] = "رجوع"; 
    $lang['cancel'] = "إلغاء";
    $lang['cancel_creating_new_record'] = " هل أنت متأكد من إلغاء عملية إنشاء سجل جديد؟ ";
    $lang['check_all'] = "تحديد كل السجلات ";
    $lang['clear'] = "Clear";
    $lang['click_to_download'] = "Click to Download";
    $lang['clone_selected'] = "Clone selected";
    $lang['cloning_record_blocked'] = "Security check: attempt of cloning a record! Check your settings, the operation is not allowed!";
    $lang['cloning_operation_completed'] = "The cloning operation completed successfully!";
    $lang['cloning_operation_uncompleted'] = "The cloning operation uncompleted!";                                    
    $lang['create'] = "إنشاء"; 
    $lang['create_new_record'] = "إنشاء سجل جديد "; 
    $lang['current'] = "الحالي"; 
    $lang['delete'] = "مسح "; 
    $lang['delete_record'] = "مسح سجل ";
    $lang['delete_record_blocked'] = "Security check: attempt of deleting a record! Check your settings, the operation is not allowed!";
    $lang['delete_selected'] = "مسح السجلات المختارة ";
    $lang['delete_selected_records'] = "هل أنت متأكد من إكمال عملية مسح السجلات المختارة؟ ";
    $lang['delete_this_record'] = "هل أنت متأكد من إكمال عملية مسح هذا السجل!"; 
    $lang['deleting_operation_completed'] = " !عملية المسح تمت بنجاح ";
    $lang['deleting_operation_uncompleted'] = " !عملية المسح لم تكتمل ";                                    
    $lang['descending'] = "ترتيب تنازلي";
    $lang['details'] = "تفاصيل السجل ";
    $lang['details_selected'] = "مشاهدة السجلات المختارة ";
    $lang['download'] = "Download";    
    $lang['edit'] = "تعديل ";
    $lang['edit_selected'] = "تعديل السجلات المختارة ";
    $lang['edit_record'] = "تعديل السجل "; 
    $lang['edit_selected_records'] = "هل أنت متأكد من إكمال عملية تعديل السجلات المختارة؟ ";         
    $lang['errors'] = "خطأ "; 
    $lang['export_to_excel'] = "Excel تصدير إلي ملف  ";
    $lang['export_to_pdf'] = "PDF تصدير إلي ملف  ";
    $lang['export_to_xml'] = "XML تصدير إلي ملف ";
    $lang['export_message'] = "<label class='default_dg_label'>The file _FILE_ is ready. After you finish downloading,</label> <a class='default_dg_error_message' href='javascript: window.close();'>close this window</a>.";
    $lang['field'] = "إسم الحقل "; 
    $lang['field_value'] = "المحتويات";
    $lang['file_find_error'] = "هذا الملف لايوجد  <b>_FILE_</b>. <br>الرجاء التأكد من وجود الملف والمسار ";         
    $lang['file_opening_error'] = "لايمكن فتح هذا الملف تأكد من الصلاحيات";
    $lang['file_extension_error'] = "File upload error: file extension not allowed for upload. Please select another file.";
    $lang['file_writing_error'] = "لايمكن الكتابة في هذا الملف.تأكد من صلاحيات الكتابة!";
    $lang['file_invalid_file_size'] = "خطأ في حجم الملف";
    $lang['file_uploading_error'] = "يوجد خطأ في عملية التحميل ...حاول مرة أخري!";
    $lang['file_deleting_error'] = "عذراً يوجد خطأ أثناء عملية المسح ";
    $lang['first'] = "first";
    $lang['generate'] = "Generate";
    $lang['handle_selected_records'] = "هل أنت متأكد من إكمال عملية المعالجة للسجلات المختارة?";
    $lang['hide_search'] = "إخفاء البحث ";
    $lang['last'] = "last";
    $lang['like'] = "like";
    $lang['like%'] = "like%";  // "begins with"; 
    $lang['%like'] = "%like";  // "ends with";
    $lang['%like%'] = "%like%";  
    $lang['loading_data'] = "جاري تحميل البيانات...";
    $lang['max'] = "max";                
    $lang['next'] = "next";
    $lang['no'] = "No";                                
    $lang['no_data_found'] = "لاتوجد بيانات ";
    $lang['no_data_found_error'] = "No data found! Please, check carefully your code syntax!<br>It may be case sensitive or there are some unexpected symbols.";                                
    $lang['no_image'] = "No Image";
    $lang['not_like'] = "not like";
    $lang['of'] = "من";
    $lang['operation_was_already_done'] = "The operation was already completed! You cannot retry it again.";            
    $lang['or'] = "or";                
    $lang['pages'] = "الصفحات";    
    $lang['page_size'] = "حجم الصفحة "; 
    $lang['previous'] = "previous"; 
    $lang['printable_view'] = "مشاهدة محتويات قابلة للطبع ";
    $lang['print_now'] = "Print Now";
    $lang['print_now_title'] = "Click here to print this page";
    $lang['record_n'] = "Record #";
    $lang['refresh_page'] = "Refresh Page";	
    $lang['remove'] = "إزالة";
    $lang['reset'] = "إلغاء "; 
    $lang['results'] = "النتائج";
    $lang['required_fields_msg'] = " مطلوب إدخال كل الحقول المشار إليها بنجمة حمراء   <font color='#cd0000'>*</font>";
    $lang['search'] = "بحث"; 
    $lang['search_d'] = "وصف البحث"; // (description) 
    $lang['search_type'] = "نوع البحث ";
    $lang['select'] = "select";
    $lang['set_date'] = "Set date";
    $lang['sort'] = "Sort";    	
    $lang['test'] = "Test";    	
    $lang['total'] = "المجموع";
    $lang['turn_on_debug_mode'] = "For more information, turn on debug mode.";
    $lang['uncheck_all'] = "إلغاء التحديد ";
    $lang['unhide_search'] = "إظهار البحث";
    $lang['unique_field_error'] = "The field _FIELD_ allows only unique values - please reenter!";           
    $lang['update'] = "تعديل "; 
    $lang['update_record'] = "تعديل سجل ";
    $lang['update_record_blocked'] = "Security check: attempt of updating a record! Check your settings, the operation is not allowed!";
    $lang['updating_operation_completed'] = " !عملية تعديل السجل تمت بنجاح ";
    $lang['updating_operation_uncompleted'] = "  !عملية تعديل السجل لم تكتمل ";                        
    $lang['upload'] = "تحميل ";
    $lang['uploaded_file_not_image'] = "The uploaded file doesn't seem to be an image.";
    $lang['view'] = "مشاهدة "; 
    $lang['view_details'] = "مشاهدة التفاصيل ";
    $lang['warnings'] = "Warnings";            
    $lang['with_selected'] = " إختار عملية واحدة بعد تحديد السجل / السجلات";
    $lang['wrong_field_name'] = "خطأ في إسم الحقل";
    $lang['wrong_parameter_error'] = "خطأ في قيمة الحقل.. <b>_FIELD_</b>: _VALUE_";
    $lang['yes'] = "Yes";                
  
    // date-time
    $lang['day']    = "day";
    $lang['month']  = "month";
    $lang['year']   = "year";
    $lang['hour']   = "hour";
    $lang['min']    = "min";
    $lang['sec']    = "sec";
    $lang['months'][1] = "January";
    $lang['months'][2] = "February";
    $lang['months'][3] = "March";
    $lang['months'][4] = "April";
    $lang['months'][5] = "May";
    $lang['months'][6] = "June";
    $lang['months'][7] = "July";
    $lang['months'][8] = "August";
    $lang['months'][9] = "September";
    $lang['months'][10] = "October";
    $lang['months'][11] = "November";
    $lang['months'][12] = "December";
    
    return $lang;
}
?>