Sunday, May 11, 2008

Changing language on the admin

When working on multilanguage sites, a feature that many times I missed is a direct way to change the language when you're on the admin,

With standard Django the only way that exists (as far as I know), is leaving the admin, going to the website, change the language there, and come back to the admin. Not very fast.

Today, I've created a snippet that creates a drop down menu on the admin bar (just in the main page) to change the language.

Hope it helps.

1 comment:

  1. Thanks, I was wondering what to do about that.

    just in time :)

    This should probably go upstream, maybe when l18n is enabled.