Date pattern in arabic
<p>hello guys I have a web service that returns the date as a string ex: 2016-4-10.
my android application is bilingual (Arabic and English), when it's in English I;m able to transform the date into the following pattern Tuesday, September 2016
but I'm failing in changing it when in Arabic to:
الثلاثاء, تشرين أول 2016
please help.</p>

<p>English case:</p>

<pre><code>SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-d");
        Date date3 = null;
        try {
            date3 = sdf.parse(date);
        } catch (Exception e) {

        }
        sdf = new SimpleDateFormat("EEEE, MMMM yyyy");
        String format = sdf.format(date3);
        System.out.print("Result: " + format);
        holder.date.setText(format);
</code></pre>

<p>Arabic case:</p>

<pre><code>Locale locale = new Locale("ar", "KW");
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-d",locale); //doesnt work
        Date date3 = null;
        try {
            date3 = sdf.parse(date);
        } catch (Exception e) {

        }
        sdf = new SimpleDateFormat("EEEE, MMMM yyyy");
        String format = sdf.format(date3);
        System.out.print("Result: " + format);
        Log.wtf("result",format);
        holder.date.setText(format);
</code></pre>