Changing language on the admin

You can connect with me on LinkedIn to discuss collaborations and work opportunities.

You can also follow me on Twitter, Bluesky and Mastodon.

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.

You can connect with me on LinkedIn to discuss collaborations and work opportunities.

You can also follow me on Twitter, Bluesky and Mastodon.