title: Date translation in Django templates and URLconf
body: <p>I've a django website set in French in the settings file.</p>
  
  <p>In my template, I've the following entry <code>&lt;a href="/{{ year }}/{{ month|date:"b" }}/"&gt;{{ month|date:"F" }}&lt;/a&gt;</code>. </p>
  
  <p>In my URLconf, I have the entry <code>url(r'^(?P&lt;year&gt;\d{4})/(?P&lt;month&gt;\w{3})/(?P&lt;day&gt;\d{1,2})/$',MonthArchivePostView.as_view())</code></p>
  
  <p>The problem is that in the template, the date generated is in French (for example, for February, I've got <code>&lt;a href="/2012/fév/"&gt;Février&lt;/a&gt;</code>) but the url expects the English version (<code>/2012/feb/</code>).</p>
  
  <p>I don't mind having the dates in the url in English or in French, I just need to have the same generated in with the template and expected in the URLconf file.</p>
  
  <p>Thank you</p>
  
  <hr>
  
  <p>Update quick-fix-not-really-a-solution : use the <code>m</code> format everywhere instead of <code>b</code> to have <code>/02/</code> instead of <code>/feb/</code></p>
  
  <p>So in the urls.py</p>
  
  <pre><code>url(r'^(?P&lt;year&gt;\d{4})/(?P&lt;month&gt;\d{1,2})/$',
      MonthArchivePostView.as_view()
  ),
  </code></pre>
  
  <p>and in the generic views</p>
  
  <pre><code>class MonthArchivePostView(dates.MonthArchiveView):
      model = Post
      month_format = '%m'
      date_field = 'publish'
  </code></pre>