Switch Site Language Setting from Admin Bar

TL;DR: Search twice or more before you make a new plugin. The one you need may just be hiding in the plugin repository.


Sweetz, am I happy when I’m tweeting this:

Until this:


I had honestly not come across WCM User Language Switcher. So I made my own. Glad I’ve kept it on GitHub now, and didn’t put it on the official plugin repository.

However, while the latter was fun to make and a good learning experience for myself (made props Chris for contributing that AJAX validation!), the former has been maintained on WordPress.org for quite a while and certainly will be in the future.

Why would I want to switch site language anyway?

One word: tests.

When you work on a translated product (theme or plugin) and you’re responsible for testing the User Interface in more than one language, you will have a perfect use case and quickly come to appreciate a plugin like one of the ones mentioned above.

So, it’s a niche itch scratched with a niche solution. Made this purely out of need. If you think it helps you too, go ahead and have fun with it!

2 thoughts on “Switch Site Language Setting from Admin Bar

Leave a Reply

Commenting is a privilege, not a right. Be good.

Your email address will not be published. Required fields are marked *