How to Disable Language Switcher on WordPress Login Screen


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 login page, but users will still be able to change the language in their profile settings.

In this article, we will show you how to disable the language switcher drop-down menu on the WordPress login screen.

How to Disable Language Switcher on WordPress Login Screen

Why disable the language switcher on the WordPress login screen?

The WordPress 5.9 release introduced a new drop-down login option that allows users to select a new language when logging into the website.

If there is more than one active language on the site, this option will appear.

Example of a login screen language switcher

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 switch languages ​​frequently, deleting it can help declutter the login page. It can also help you maintain control over the design of your custom login page.

To note: The language switcher does not make your WordPress website multilingual, it just translates the WordPress login and password reset pages and the WordPress dashboard.

That said, let’s show how to disable the language switcher on your WordPress site. Just use the quick links below to jump straight to the method you want to use.

Method 1. Disable Language Switcher on WordPress Login Screen with WordPress Plugin

The most beginner-friendly way to remove the WordPress language switcher from the WordPress login screen is to use the Disable the login language switcher connect.

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 change option will be automatically removed. You don’t need to configure any additional settings.

Now when you go to your login screen, you will see the standard login screen without the option to switch languages.

Example of standard WordPress login screen

Method 2. Disable WordPress Login Language Switcher Without Plugin

Another way to disable the language switcher is to add code to WordPress. If you haven’t already, check out our guide on how to copy and paste code in WordPress.

Then you can add the following code snippet to your functions.php file, in a site-specific plugin or by using a code snippets plugin.

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 change language will disappear.

If you need to enable language switching in the future, just remove 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 can also check out our guide on how to get a free SSL certificate for your WordPress website, and our expert picks of the best HR payroll software for small businesses.

If you liked this article, subscribe to our Youtube channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Disable Language Switcher on WordPress Login Screen first appeared on WPBeginner.



Leave a Comment

Your email address will not be published.