Skip to content

Commit fcf8c26

Browse files
cherifscottgonzalez
cherif
authored andcommitted
Datepicker i18n: Added Algerian Arabic. Fixes #6877 - Datepicker: Add Algerian Arabic support.
1 parent 086131b commit fcf8c26

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

ui/i18n/jquery.ui.datepicker-ar-DZ.js

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/* Algerian Arabic Translation for jQuery UI date picker plugin. (can be used for Tunisia)*/
2+
/* Mohamed Cherif BOUCHELAGHEM -- cherifbouchelaghem@yahoo.fr */
3+
/* NOTE: monthNames maybe original names are in jquery.ui.datepicker-ar.js, but we must use the months that we know here in North Africa which is جانفي فيفري they look like French months in arabic way but the rest is ok. More information for months in arabic http://en.wikipedia.org/wiki/Arabic_names_of_calendar_months*/
4+
5+
jQuery(function($){
6+
$.datepicker.regional['ar-DZ'] = {
7+
closeText: 'إغلاق',
8+
prevText: '<السابق',
9+
nextText: 'التالي>',
10+
currentText: 'اليوم',
11+
monthNames: ['جانفي', 'فيفري', 'مارس', 'أفريل', 'ماي', 'جوان',
12+
'جويلية', 'أوت', 'سبتمبر','أكتوبر', 'نوفمبر', 'ديسمبر'],
13+
monthNamesShort: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
14+
dayNames: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
15+
dayNamesShort: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
16+
dayNamesMin: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
17+
weekHeader: 'أسبوع',
18+
dateFormat: 'dd/mm/yy',
19+
firstDay: 6,
20+
isRTL: true,
21+
showMonthAfterYear: false,
22+
yearSuffix: ''};
23+
$.datepicker.setDefaults($.datepicker.regional['ar-DZ']);
24+
});

0 commit comments

Comments
 (0)