title: Internationalization of static JS in Django
body: <p>I want to translate a part of the JS in Django. </p>
  
  <p>I've try the command <code>python manage.py makemessages -d djangojs</code> but it take only file in <code>TEMPLATE_DIRS</code> in the <code>settings.py</code></p>
  
  <p>I've try to set a JS in a template directory, and it work perfectly. </p>
  
  <p>I've the djangojs.po and i can generate the .mo when i compile.</p>
  
  <p><strong>So the question is : How make message in static file?</strong></p>
  
  <p>I've found the same problem 
  <a href="https://stackoverflow.com/questions/26095934/django-makemessages-not-working-for-js-files">Here</a>
  and
  <a href="https://stackoverflow.com/questions/19625102/django-javascript-translation-not-working">Here</a> but no one answer who keep a good architecture.</p>
  
  <p>Please, save me!</p>
  
  <p><strong>My architecture:</strong></p>
  
  <ul>
  <li>myapp 
  
  <ul>
  <li>locale </li>
  <li>static 
  
  <ul>
  <li>myapp 
  
  <ul>
  <li>js 
  
  <ul>
  <li>try.js </li>
  </ul></li>
  </ul></li>
  </ul></li>
  <li>template
  
  <ul>
  <li>myapp
  
  <ul>
  <li>try.html</li>
  </ul></li>
  </ul></li>
  <li>views.py</li>
  <li>urls.py</li>
  <li>[...]</li>
  </ul></li>
  </ul>
  
  <p>PS: Sorry for my english, i'm not native ;)</p>