title: changing datepicker language is not working
body: <p>I've been trying to change language shown by the datepicker. Default is english, I want to use french.
  I've got some results during searches but none seems working for me smh... I've tried those <a href="https://stackoverflow.com/questions/43981638/changing-language-of-jquery-ui-datepicker">1</a>,<a href="https://stackoverflow.com/questions/1865091/jquery-datepicker-language">2</a>, <a href="https://stackoverflow.com/questions/5687942/jquery-datepicker-not-working">3</a>, <a href="https://makitweb.com/how-to-change-language-of-jquery-ui-datepicker/" rel="nofollow noreferrer">4</a>, <a href="https://openclassrooms.com/forum/sujet/datepicker-en-francais-jquery" rel="nofollow noreferrer">5</a> but still got no change in the language... I must be doing something wrong somewhere I guess </p>
  
  <p>Here is a simplified version (yet all necessary information) of my code:</p>
  
  <pre><code>&lt;head&gt;
  &lt;link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.5.0/css/bootstrap-datepicker.css" rel="stylesheet"&gt;
  
          &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"&gt;&lt;/script&gt;
          &lt;script type="text/javascript" src="{{ asset('main/assets/js/main.js') }} "&gt;&lt;/script&gt;
          &lt;script type="text/javascript" src="{{ asset('main/assets/js/jquery.min.js') }} "&gt;&lt;/script&gt;
          &lt;script type="text/javascript" src=" {{ asset('main/assets/js/bootstrap.min.js') }}"&gt;&lt;/script&gt;
          &lt;script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.11/jquery-ui.min.js"&gt;&lt;/script&gt;
          &lt;script type="text/javascript" src=" {{ asset('main/assets/js/datepicker-fr.js') }}"&gt; &lt;/script&gt;
          &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.5.0/js/bootstrap-datepicker.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;input class="date form-control"  type="text" id="datepicker" name="date" placeholder="Définir date limite de disponiblité de cette thématique"&gt;
  
  &lt;script&gt;
  $(function (){
               $.datepicker.setDefaults( $.datepicker.regional[ "fr" ] );
  
              $('#datepicker').datepicker({
                  autoclose: true,
                  format: 'dd-mm-yyyy'
              });
  });
  &lt;/script&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>The referred <code>datepicker-fr.js</code> file is the one found here <a href="https://github.com/jquery/jquery-ui/blob/master/ui/i18n/datepicker-fr.js" rel="nofollow noreferrer">https://github.com/jquery/jquery-ui/blob/master/ui/i18n/datepicker-fr.js</a></p>
  
  <p>According what I found on the net, I've successively changed my script to be :</p>
  
  <pre><code>&lt;script&gt;
  $(function (){
           $('#datepicker').datepicker( $.datepicker.regional[ "fr" ] );
  });
  &lt;/script&gt;
  </code></pre>
  
  <pre><code>&lt;script&gt;
  $(function (){
           $.datepicker.setDefaults( $.datepicker.regional[ "fr" ] );
           $('#datepicker').datepicker();
  });
  &lt;/script&gt;
  </code></pre>
  
  <pre><code>&lt;script&gt;
  $(function (){
           $.datepicker.setDefaults( $.datepicker.regional[ "fr" ] );
           $('#datepicker').datepicker({
               closeText: "Fermer",
               prevText: "Précédent",
               nextText: "Suivant",
               currentText: "Aujourd'hui",
               monthNames: [ "janvier", "février", "mars", "avril", "mai", "juin",
                  "juillet", "août", "septembre", "octobre", "novembre", "décembre" ],
               monthNamesShort: [ "janv.", "févr.", "mars", "avr.", "mai", "juin",
                  "juil.", "août", "sept.", "oct.", "nov.", "déc." ],
               dayNames: [ "dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi" ],
               dayNamesShort: [ "dim.", "lun.", "mar.", "mer.", "jeu.", "ven.", "sam." ],
               dayNamesMin: [ "D","L","M","M","J","V","S" ],
               weekHeader: "Sem.",
               dateFormat: "dd/mm/yy",
               firstDay: 1,
               isRTL: false,
               showMonthAfterYear: false,
               yearSuffix: "" 
           });
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>The date is still displaying in english and I'm not getting a problem shown in the console. What am I missing here? Your help would be very appreciated thanks</p>