disable language switcher on login screen in wordpress og

Do you want the language switcher on the WordPress Login screen to be disabled?

When you disable the language switcher, your default language becomes the sole choice on the log in screen, but users may still alter it in their profile settings.

Advertisements

We’ll teach you how to deactivate the language switcher drop down on the WordPress login screen in this article.

Why Disable the Language Switcher on the WordPress Login Screen?

When WordPress 5.9 was released, a new drop-down login option was implemented, allowing users to pick a different language when signing onto the website.

This option will display if the site supports more than one active language.

Login screen language switcher example

This is useful for multilingual websites and teams with several members that need to access the WordPress dashboard in a different language.

However, deleting it might assist to simplify the login page if you want to keep it simple and your users don’t need to switch languages regularly. It can also assist you in maintaining control over the design of your own login page.

The language choice does not make your WordPress website multilingual; rather, it translates the WordPress login and password reset pages, as well as the WordPress dashboard.

Let’s get started on how to disable the language changer on your WordPress site. Simply click on one of the fast links below to get to the technique you wish to employ.

Using a WordPress plugin, you may disable the language changer on the login page.
Disabling the language changer on the WordPress login page without using a plugin

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

The Disable Login Language Switcher plugin is the most user-friendly approach to remove the WordPress language switcher from the WordPress login screen.

Advertisements

The first step is to download, install, and activate the plugin. See our step-by-step guide on installing a WordPress plugin for more information.

The language switcher option will be automatically disabled after activation. You will not be able to change any other options.

You’ll now get the usual login screen sans the language switcher option when you go to your login screen.

Standard WordPress login screen example

Method 2. Disable the WordPress Login Language Switcher Without a Plugin

You may also deactivate the language changer by modifying the WordPress code. See our article on how to copy and paste code in WordPress if you haven’t done it before.

Let’s get started on how to disable the language changer on your WordPress site. Simply click on one of the fast links below to get to the technique you wish to employ.

Using a WordPress plugin, you may disable the language changer on the login page.

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

The language changer on your WordPress website will be disabled automatically with this snippet. The option to switch languages will no longer be available when you visit the login page.

Simply erase the line of code you introduced if you need to enable language switching in the future.

We hope that this post has shown you how to deactivate the language switcher on the WordPress login page. You might also be interested in our guide on obtaining a free SSL certificate for your WordPress website, as well as our expert recommendations for the best payroll software for small businesses.

 

Advertisements

Leave a Reply