title: Translate date function output string in other language using jquery/js?
body: <p>Is there way to translate output of date function string in other language using jquery/js? </p>
  
  <p>Actually I want to translate month string in other language(German, Spanish, French etc.).</p>
  
  <p><strong>Snap</strong></p>
  
  <p><img src="https://i.stack.imgur.com/2Pftk.jpg" alt="enter image description here"></p>
  
  <p><strong>For Example:</strong></p>
  
  <pre><code>var D =  jQuery.datepicker.formatDate('MM dd yy', new Date());
  alert(D);
  </code></pre>
  
  <p><strong>Output In English:</strong> June 21 2013</p>
  
  <p>But I want date format output in <strong>other languages</strong>, like as:</p>
  
  <pre><code>French: juin 21 2013
  
  German: Juni 21 2013
  
  Spanish: junio 21 2013
  
  Portuguese: junho 21 2013
  </code></pre>
  
  <p>Am unable to get how do I translate month name in other language?</p>
  
  <p>I found solution in <strong>PHP</strong>( <code>setlocale(LC_TIME, 'language_name'); strftime(format sting);</code> ) but I need it in <strong>jQuery or JS</strong>?</p>
  
  <p>So guys, you could suggest me a better solution.</p>