How to Disable the Language Switcher on WordPress Login Screen
Are you willing to disable the language switcher on your WordPress login screen?
When you disable the language switcher, your default language becomes the only option for logging in.
However, users can still change the language in their profile settings.
This post will explain how to disable the language switcher on the WordPress login screen.
Why Disable the Language Switcher on WordPress?
WordPress 5.9 comes with a new login option that allows users to select a language while logging into the website.
This option appears when there is more than one active language on the site.
This helps for multilingual websites with different users who may need to access the WordPress dashboard in a different language. They can easily select the language from the drop-down menu.
However, if you and your users don’t need to switch languages frequently and you want to keep your login page simple, then you can easily disable the language switcher. In addition, this gives you more control over your custom login page appearance.
Note: The language selector does not make your WordPress website multilingual. It only translates the WordPress login & password reset page and the WordPress dashboard to the selected language.
We will explain two easy and simple methods to disable the language switcher on the WordPress site. You can use the one that suits you most.
Method 1. Disabling the Language Switcher on WordPress using a WordPress Plugin
To easily disable the WordPress language switcher on the login screen, you can use the Disable Login Language Switcher plugin.
To start with this plugin, you have to install and activate it first. You can see our step-by-step tutorial on how to install a WordPress plugin for more details.
After activation, you don’t have to configure any settings. The plugin will remove the language switcher option itself.
Now, whenever you visit your WordPress login screen, you’ll notice a standard login screen without the option of the language switcher.
Method 2. Disabling the Language Switcher on WordPress using a code
The other way to disable the language switcher on WordPress is by adding code to your function.php.
If you don’t know how to code, we suggest you use the above method.
However, if you want to go with this method, you have to add the following code snippet to your functions.php file or use a code snippets plugin on your site.
add_filter( 'login_display_language_dropdown', '__return_false' );
After adding the code, the language switcher on your WordPress website will be disabled.
Now, when you go to your login page, the language switcher option will be disappeared.
If you need the language switcher option in the future, then just remove the line of code you added.
To conclude- WordPress 5.9 comes with a new login option that allows users to select a language while logging into the website. If you want a standard screen, you can easily remove the option by using a plugin or code.
We hope this post helped you disable the language switcher on the WordPress login screen.