I have an HTML input element for my datepicker and normal setup to support RTL.
$( "#datepicker" ).datepicker({
isRTL:true,
changeMonth: true,
changeYear: true
});
JS reference included on page to support Arabic Localisation Arabic Locale
Problem Area - Month dropdown values are coming as numeric digits i.e. 1, 2 .. 12
Expected Behavior - Month dropdown should display month name that too translated to Arabic.
In normal localisation, month name always renders as text i.e. Jan, Feb & so on. http://jsfiddle.net/ylokesh/hnu0r78y/2/
Seems like it's default behavior of datepicker. Please suggest if there is any get month names displayed in dropdown.
Month drop down takes value from monthNamesShort You need to update monthNamesShort with Arabic month name instead of numeric digits 1..12 Put following code above your datepicker.
Check this http://jsfiddle.net/hnu0r78y/5/