title: jQuery DatePicker - Change the language to Spanish
body: <p>I have the following JQuery script:</p>
  
  <pre><code>&lt;script&gt;
  $( function() {
    $( "#datepicker1" ).datepicker({ dateFormat: 'd MM y' });
  });
  $( function() {
    $( "#datepicker2" ).datepicker({ dateFormat: 'd MM y' });
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>This script connects with the following html code:</p>
  
  <pre><code>&lt;label for="datepicker1"&gt;Fecha 1&lt;/label&gt;
  &lt;input type="text" id="datepicker1" class="form-control input-sm"&gt;
  &lt;label for="datepicker2"&gt;Fecha 2&lt;/label&gt;
  &lt;input type="text" id="datepicker2" class="form-control input-sm"&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/nRFrF.png" rel="nofollow noreferrer">And this prints the following datepicker in the application</a></p>
  
  <p>What I want to do is change the language of the result by choosing the date in the datepicker, that is, instead of indicating <strong>"14 June 2020"</strong>, which index <strong>"14 Junio 2020"</strong> and if possible be <strong>"14 de Junio de 2020"</strong>.</p>
  
  <p><em>I hope I have explained myself well, it is the first time that I use this platform.</em></p>