title: Internationalization in Django doesn't get activated
body: <p>I have followed the documentation how to do the i18n but the words still show up in English.</p>
  
  <p><strong>Settings.py:</strong></p>
  
  <pre><code>USE_I18N = True
  LANGUAGES = (
    ('en', 'English'),
    ('de', 'German'),
  )
  LANGUAGE_CODE = 'de'
  </code></pre>
  
  <p><strong>Views:</strong></p>
  
  <pre><code>from django.utils.translation import ugettext as _
  ...
  messages.set_level(request, messages.SUCCESS)
  messages.success(request, _(u'An invitation was sent to %s.') % invitation.email)
  </code></pre>
  
  <p>I am developing on Ubuntu and gettext is installed.
  In the command line I enter these:</p>
  
  <pre><code>django-admin.py makemessages -l de
  </code></pre>
  
  <p>I get a .po file and edit it accordingly:</p>
  
  <pre><code># SOME DESCRIPTIVE TITLE.
  # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
  # This file is distributed under the same license as the PACKAGE package.
  # FIRST AUTHOR &lt;EMAIL@ADDRESS&gt;, YEAR.
  #
  #, fuzzy
  msgid ""
  msgstr ""
  "Project-Id-Version: PACKAGE VERSION\n"
  "Report-Msgid-Bugs-To: \n"
  "POT-Creation-Date: 2012-06-01 17:42+0100\n"
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  "Last-Translator: FULL NAME &lt;EMAIL@ADDRESS&gt;\n"
  "Language-Team: LANGUAGE &lt;LL@li.org&gt;\n"
  "Language: \n"
  "MIME-Version: 1.0\n"
  "Content-Type: text/plain; charset=UTF-8\n"
  "Content-Transfer-Encoding: 8bit\n"
  "Plural-Forms: nplurals=2; plural=(n != 1)\n"
  
  #: MyBookmarks/templates/friend_invite.html:3
  #: MyBookmarks/templates/friend_invite.html:4
  msgid "Invite A Friend"
  msgstr "hhhhh"
  
  #: MyBookmarks/templates/friend_invite.html:11
  msgid "send invite"
  msgstr "gggggggggg"
  
  #: MyBookmarksApp/forms.py:8
  msgid "Friend's Name"
  msgstr "ffffffffff"
  
  #: MyBookmarksApp/forms.py:9
  msgid "Friend's Email"
  msgstr "ddddddddd"
  
  #: MyBookmarksApp/views.py:123
  #, python-format
  msgid "An invitation was sent to %s."
  msgstr "ssssssssssss %s"
  
  #: MyBookmarksApp/views.py:127
  msgid "An error happened when sending the invitation."
  msgstr "aaaaaaa"
  </code></pre>
  
  <p>Then I run this command:</p>
  
  <pre><code>django-admin.py compilemessages
  </code></pre>
  
  <p>and the .mo file is created. I run the app and everything is still in plain English. What am I missing?</p>
  
  <p><strong>Update 2:</strong></p>
  
  <p>I have now tried a new approach:</p>
  
  <p>I have added </p>
  
  <pre><code>'django.middleware.locale.LocaleMiddleware',
  </code></pre>
  
  <p>to the MIDDLEWARE_CLASSES in settings.py</p>
  
  <p>Then I have added to url.py the following:</p>
  
  <pre><code># i18n
  (r'^i18n/', include('django.conf.urls.i18n')),
  </code></pre>
  
  <p>And in my base.html template I have added this:</p>
  
  <pre><code>{% load i18n %}
  ...
  &lt;div id="footer"&gt;
      &lt;form action="/i18n/setlang/" method="post"&gt;
        &lt;select name="language"&gt;
          {% for lang in LANGUAGES %}
            &lt;option value="{{ lang.0 }}"&gt;{{ lang.1 }}&lt;/option&gt;
          {% endfor %}
        &lt;/select&gt;
        &lt;input type="submit" value="Go" /&gt;
      &lt;/form&gt;
    &lt;/div&gt;
  </code></pre>
  
  <p>Now I can see a dropdown on my page to change the language.  Even after changing the language to German, nothing changes.  Something seems broken in 1.4...</p>
  
  <p><strong>update 3:</strong></p>
  
  <p>I have created a new simple test project to demonstrate the problem.  </p>
  
  <p>It is a very simple project and you can switch between German &amp; English at main page.  You see the selected Language code actually changes, which is a good sign but the translation simply doesn't happen. I wonder if this is a bug that needs reported. Your cooperation is highly appreciated. </p>
  
  <p>Please download from here:
  <a href="http://www.chasebot.com/TestProject.zip" rel="nofollow">http://www.chasebot.com/TestProject.zip</a></p>
  
  <p>(Once extracted in settings.py you need to change the absolute path to the database)</p>
  
  <p>Please let me know if you can reproduce it. Thank you</p>