title: how to use django-admin.py makemessages --all
body: <p>I am trying to create messagefile in my django project.</p>
  <p>for this, i just wrote this into my home view function:</p>
  <pre><code>def startpage(request):
     # Translators: This message appears on the home page only
     output = _(&quot;Welcome to my site.&quot;)
  </code></pre>
  <p>and in settings.py</p>
  <pre><code>from django.utils.translation import ugettext_lazy as _
  LANGUAGES = [
     ('de', _('German')),
     ('en', _('English')),
     ('fr', _('French')),
     ('es', _('Spanish')),
     ('pt', _('Portuguese'))
  ]
  </code></pre>
  <p>and created <code>locale</code> directory inside my app.</p>
  <p>now I am inside my app tree and giving this command:</p>
  <pre><code>django-admin.py makemessages --all
  </code></pre>
  <p>it is spitting out this</p>
  <pre><code>#!C:\workspace\newsportal\venv_np\Scripts\python.exe
  # EASY-INSTALL-SCRIPT: 'django==1.6','django-admin.py'
  __requires__ = 'django==1.6'
  import pkg_resources
  pkg_resources.run_script('django==1.6', 'django-admin.py')
  </code></pre>
  <p>and NOT creating messagefiles inside <code>locale</code>.</p>
  <p>I tried with:</p>
  <pre><code>python manage.py makemessages --all
  </code></pre>
  <p>but it cannot find <code>manage.py</code> because i am inside my app, not in project tree. how is it done normally?</p>