title: How to view your translated site?
body: <p>I am trying to view my site in japanese. I have create the translations and compiled them with compilemessages.</p>
  <p>In my urls.py I have</p>
  <pre><code>urlpatterns = i18n_patterns('',
      #...
  )
  </code></pre>
  <p>Settings.py</p>
  <pre><code>LANGUAGE_CODE = 'en-us'
  
  #Used for translations
  gettext = lambda s: s
  LANGUAGES = (
      ('en', gettext('English')),
      ('jp', gettext('Japanese')),    
  )
  </code></pre>
  <p>But when I try to access a url with /jp/ at the start I get that there is only /en/</p>
  <p>Using the URLconf defined in PLP.urls, Django tried these URL patterns, in this order:</p>
  <pre><code>^en/
  </code></pre>
  <p>The current URL, jp/accounts/login, didn't match any of these.</p>
  <p>I am using dbgettext so I also have my database content translated in my messages.</p>
  <p>But how can I display it</p>
  <pre><code>   {% trans &quot;Question:&quot; %}{% trans {{question.question}} %}&lt;br&gt;
  </code></pre>
  <p>Could not parse the remainder: '{{question.question}}' from '{{question.question}}'</p>
  <h1>EDIT</h1>
  <p>Thanks Ngenator!</p>
  <p>My other issue was that Japanese is 'ja' not 'jp'</p>