title: Django: Display current locale in a template
body: <p>I need to embed the current locale in a Django template's output (as part of a URL to be precise). I know that I can access the current <strong>language</strong> as <code>{{ LANGUAGE_CODE }}</code> if I <code>{ load i18n }</code> but is there a similar way to access the current <strong>locale</strong>?</p>
  
  <p>I suppose I could use <code>to_locale()</code> in the view logic and put it in the context for the template, but I'm looking for something more generic that might be part of the Django framework itself. Is there such a syntax?</p>