title: Bootstrap Datepicker Locale with MomentJS
body: <p>I am using a Bootstrap Datepicker <a href="http://eonasdan.github.io/bootstrap-datetimepicker/" rel="noreferrer">available here</a> and everything is working fine.  However, I want to localize the calendar given a user's preferred language.  I've set the following when I initialize the datepicker:</p>
  
  <pre><code>locale: 'fr'
  </code></pre>
  
  <p>However, I get a console error that reads:</p>
  
  <blockquote>
    <p>Uncaught TypeError: locale() locale fr is not loaded from moment locales!</p>
  </blockquote>
  
  <p>I am including MomentJS in my project:</p>
  
  <pre><code>&lt;script src="/vendors/moment/min/moment.min.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>This is my first implementation so I feel like I'm missing something simple but just can't figure it out.</p>