Remove the language selector from the login screen if you have more than one language enabled in WordPress 5.9 and later.
WordPress 5.9 added a new language selector to allow users to switch languages from a dropdown on the login screen if more than one language is enabled on your WordPress installation. This plugin provides a quick and easy way to prevent this language selector from appearing.
It is a very simple plugin which is provided for ease of use: you need only to install and activate the plugin and it will prevent the language dropdown from appearing on the login screen of your site.
Alternatively, you can also achieve the same effect by adding the following line of code to the functions.php
file in your theme:
add_filter( 'login_display_language_dropdown', '__return_false' );
WordPress 5.9 added a new language selector to allow users to switch languages from a dropdown on the login screen if more than one language is enabled on your WordPress installation. This plugin provides a quick and easy way to prevent this language selector from appearing.
It is a very simple plugin which is provided for ease of use: you need only to install and activate the plugin and it will prevent the language dropdown from appearing on the login screen of your site.
Alternatively, you can also achieve the same effect by adding the following line of code to the functions.php
file in your theme:
add_filter( 'login_display_language_dropdown', '__return_false' );
If you have more than one language active on your website the language selector that was added in WordPress 5.9 will be visible on your login screen. If you don’t want this language selector to be visible then using this plugin will stop it from appearing.
There are several reasons why you may have more than one language active on your website but do not want the language selector to be visible to site users:
Perhaps you have a custom language selector in place already as part of an existing theme or plugin, so the WordPress language selector is not required.
Or perhaps as is common, WordPress was installed with the default language set as English (United States). In these cases enabling a subsequent language would result in there being more than one language active, for example English (United States) and English (UK), therefore enabling the language selector regardless of whether you want to have multiple language options available to site users.
Check that the plugin has been correctly uploaded, installed and activated.