Disabling the language switching option on the WordPress login interface will make the default language the only option on the login page, but users can still change the language in their profile settings. The release of WordPress 5.9 introduced a new dropdown login option for selecting a language. You can disable the language switcher using a plugin called Disable Login Language Switcher or by adding code to the functions.php file. This simple tip can help keep your login page clean and minimalist. If you find this article helpful, consider sharing and rating it.
Do you want to remove the language switching option on the WordPress login interface? If so, disabling the language switcher will make your default language the only option on the login page. However, users can still change the language in their profile settings.
Why disable language switching option?
The release of WordPress 5.9 introduced a new dropdown login option that allows users to select a new language when logging into the site. If there is more than one language active on the site, this option will appear. If you are a minimalist who wants to keep your login page looking clean, then this article is for you.
Disable language switching option using plugin
You can use the Disable Login Language Switcher plugin to automatically remove the language switcher option without any additional configurations needed. Once installed and activated, the language switcher will be gone, giving you a cleaner login page.
Disable language switching option without plugin
If you prefer not to use plugins, you can add a code snippet to the functions.php
file:
add_filter( 'login_display_language_dropdown', '__return_false' );
This code will disable the language switcher on your WordPress site. If you ever need to enable language switching again, simply remove the added code.
Conclusion
This simple tip can be handy during your WordPress website development. If you found this article helpful and time-saving, please consider sharing and rating it 5 stars. Also, check out other useful articles in the WordPress Tips section and follow our Fanpage for more updates.