title: How can I use placeholder in a Django template translation using the lazy syntax?
body: <p>The documentation is unclear on this matter. As per the <a href="https://django-book.readthedocs.org/en/latest/chapter19.html#in-template-code" rel="nofollow">Chapter 19: Internationalization › In Template Code</a> section, it is possible to use syntax such as:</p>
  
  <pre><code>{% some_special_tag _("Page not found") value|yesno:_("yes,no") %}
  </code></pre>
  
  <p>However, I want to pass a placeholder to pass a variable to the translation as in :</p>
  
  <p>def my_view(request, m, d):
      output = _('Today is %(month)s %(day)s.') % {'month': m, 'day': d}
      return HttpResponse(output)</p>
  
  <h2>Attempts</h2>
  
  <p>I tried the following syntaxes:</p>
  
  <pre><code>{% back_link 'core:work_unit' _('Unité de travail #%(id)') % {'id': requested_work_unit.id} %}
  </code></pre>
  
  <p>Give :</p>
  
  <blockquote>
    <p>TemplateSyntaxError at /unit/109/edit/</p>
    
    <p>Could not parse the remainder: '%' from '%'</p>
  </blockquote>
  
  <p>And this one</p>
  
  <pre><code>{% back_link 'core:work_unit' _('Unité de travail #%(id)', requested_work_unit.id) %}
  </code></pre>
  
  <p>Give: </p>
  
  <blockquote>
    <p>StopIteration at /unit/109/edit/</p>
    
    <p>No exception message supplied</p>
  </blockquote>
  
  <h2>Question</h2>
  
  <p>How can I use the lazy notation and placeholder in template tag ? </p>