One of the least commented new features of WordPress 5.9, but interesting for many websites, was the incorporation of a language selector in the WordPress login screen.
The idea is interesting, not vital, but interesting, because any user who wants to access the administration in their language, and if this is installed, could choose it and not have to wait to modify the language in their profile.
Now, this is fine for sites with multiple languages, where there are users who need to access the WordPress desktop, and you want to make it easy for them to do so in their language (previously installed), but what about for all the other WordPress sites? What if we only access it ourselves or if we don’t need more languages?
Well, another unnecessary WordPress functionality that we don’t need, another code that runs in our installation, always, by default, that adds to the pile of other things that we don’t need in our WordPress either.
Fortunately, like everything else in WordPress, you can disable the language selector on login if you don’t need it.
Table of Contents
Deactivate the language selector on access with a code
The quickest, easiest and lightest way to remove the language selector on the WordPress login screen is by adding the following code:
/* Remove language selector from login */
This filter disables the language selection drop-down function.
How and where to add the code
In this guide, I explain in a simple way how to use this and other codes in your WordPress website, save it in favorites, you will need it more than once, although I usually remember it often:
Deactivate the language selector in the access with a plugin
If you prefer a plugin that does the same you have Disable Login Language Switcher. It does exactly the same as the previous code, in fact, it uses the same filter, but in plugin form.
Just install it and activate it and that’s it.
Does it work?
Of course, it doesn’t matter if you use the code or the plugin, now there will be no language selector on the WordPress desktop login screen.