title: Language in Bootstrap datetimepicker widget
body: <p>I'm trying to set up "spanish" language in <a href="http://eonasdan.github.io/bootstrap-datetimepicker/" rel="nofollow">Bootstrap datetimepicker widget</a> from <a href="https://github.com/Eonasdan" rel="nofollow">Eonasdan</a> according to documentation, just enough do this:</p>
  
  <pre><code>    &lt;script type="text/javascript"&gt;
          $(function () {
              $('#datetimepicker2').datetimepicker({
                  language: 'es'
              });
          });
      &lt;/script&gt;
  </code></pre>
  
  <p>But it doesn't work :\
  I have linked the javascript plugin and css (not minified). And also I have changed the default language setup, this is my setup in bootstrap-datetimepicker.js:</p>
  
  <pre><code>$.fn.datetimepicker.defaults = {
          pickDate: true,
          pickTime: true,
          useMinutes: true,
          useSeconds: false,
          useCurrent: true,
          minuteStepping: 1,
          minDate: pMoment({y: 1900}),
          maxDate: pMoment().add(100, 'y'),
          showToday: true,
          collapse: true,
          language: 'es',
          defaultDate: '',
          disabledDates: false,
          enabledDates: false,
          icons: {},
          useStrict: false,
          direction: 'auto',
          sideBySide: false,
          daysOfWeekDisabled: false,
          widgetParent: false
      };
  </code></pre>
  
  <p>And I have additionally added the following to the final of this script:</p>
  
  <pre><code>$.fn.datetimepicker.dates['es'] = {
          days: ["Domingo", "Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado", "Domingo"],
          daysShort: ["Dom", "Lun", "Mar", "Mie", "Jue", "Vie", "Sab", "Dom"],
          daysMin: ["Do", "Lu", "Ma", "Mi", "Ju", "Vi", "Sa", "Do"],
          months: ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"],
          monthsShort: ["Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic"],
          today: "Hoy"
          };
  </code></pre>
  
  <p>And my code is:</p>
  
  <pre><code>$(function () {
      $('#fechanac').datetimepicker({
          pickTime: false,
          language: 'es'
      });
  });
  </code></pre>
  
  <p>Anyone know how to fix this issue? Thanks for reading!</p>