Do you want to disable the language switcher on the WordPress login screen?
Disabling the language switcher makes your default language the only option on the log in page, but users will still be able to change the language in their profile settings.
In this article, we’ll show you how to disable the language switcher drop down on the WordPress login screen.
Why Disable the Language Switcher on the WordPress Login Screen?
The release of WordPress 5.9 introduced a new drop down login option that lets users select a new language when logging into the website.
If there is more than one active language on the site, then this option will appear.
This works well for multilingual websites and teams with different users who might want to access the WordPress dashboard in a different language.
But if you want to keep your login page simple, and your users don’t need to frequently switch languages, then removing it can help to declutter the login page. It can also help you to keep control over your custom login page design.
Note: The language selector doesn’t make your WordPress website multilingual, it simply translates the WordPress login and password reset pages and the WordPress dashboard.
With that said, let’s show you how to disable the language switcher on your WordPress site. Simply use the quick links below to jump straight to the method you want to use.
- Disabling the login page language switcher with a WordPress plugin
- Disabling the WordPress login page language switcher without a plugin
Method 1. Disable the Language Switcher on WordPress Login Screen with a WordPress Plugin
The most beginner friendly way to remove the WordPress language switcher on the WordPress login screen is by using the Disable Login Language Switcher plugin.
The first thing you need to do is install and activate the plugin. For more details, see our step by step guide on how to install a WordPress plugin.
Upon activation, the language switcher option will automatically be removed. There are no additional settings for you to configure.
Now, when you go to your login screen, you’ll see the standard login screen without the language switcher option.
Method 2. Disable the WordPress Login Language Switcher Without a Plugin
Another way you can disable the language switcher is by adding code to WordPress. If you haven’t done this before, then see our guide on how to copy and paste code in WordPress.
add_filter( 'login_display_language_dropdown', '__return_false' );
This snippet will automatically disable the language switcher on your WordPress website. Now, when you visit the login page, the option to switch languages will be gone.
If you need to enable language switching in the future, then simply delete the line of code you added.
We hope this article helped you learn how to disable the language switcher on the WordPress login screen. You may also want to see our guide on how to get a free SSL certificate for your WordPress website, and our expert picks of the best payroll software for small businesses.