Skip to content
  • Home
  • About us
  • WordPress support
  • Plans and pricing
  • Open a ticket
  • Blog
    • WordPress news
    • WordPress video tutorials
  • Account
    • Login
    • Register new account
  • Contact
We use cookies to ensure that we give you the best experience on our website.
WPSensorsWPSensors
  • Home
  • About us
  • WordPress support
  • Plans and pricing
  • Open a ticket
  • Blog
    • WordPress news
    • WordPress video tutorials
  • Account
    • Login
    • Register new account
  • Contact
WPSensorsWPSensors

How to Disable the Language Switcher on WordPress Login Screen

  • February 16, 2022
  • WordPress news

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

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

Why Disable the Language Switcher on the WordPress Login Screen?

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

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

Login screen language switcher example

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 frequently switch languages, then removing it can help to declutter the login page. It can also help you to keep control over your custom login page design.

Note: The language selector doesn’t make your WordPress website multilingual, it simply translates the WordPress login and password reset pages and the WordPress dashboard. 

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

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

The most beginner friendly way to remove the WordPress language switcher on the WordPress login screen is by using the Disable Login Language Switcher plugin. 

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 switcher option will automatically be removed. There are no additional settings for you to configure.

Now, when you go to your login screen, you’ll see the standard login screen without the language switcher option.

Standard WordPress login screen example

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

Another way you can disable the language switcher is by adding code to WordPress. If you haven’t done this before, then see 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 switch languages will be gone.

If you need to enable language switching in the future, then simply delete 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 may also want to see 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, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.



Source link

Editorial Staff

# disable language switcher adding code# disable language switcher with plugin# disable login language switcher plugin# how to disable the language switcher in wordpress
Previous Post How to Create a Facebook Ads Landing Page in WordPress
Next Post #14 – Dave Smith, Isabel Brison and Joen Asmussen on the New Navigation Block – WP Tavern
For more information visit WebSecurity.Agency

Popular Posts

  • 12 Actions That Help Improve Your Google Keyword Rankings
  • SQL Injection For Beginners - Learn From A Pro Hacker Now
    SQL Injection For Beginners – Learn From A Pro Hacker Now
  • I will removed malware virus from a hacked wordpress website
    I will removed malware virus from a hacked wordpress website
  • I will remove malware recover hacked wordpress security fix
    I will remove malware recover hacked wordpress security fix
  • I will remove wordpress malware removal clean malware fix
    I will remove wordpress malware removal clean malware fix

New Posts

  • 12 Actions That Help Improve Your Google Keyword Rankings
    May 26, 2022
  • WordPress.com Announces New Starter Plan For $5/Month – WP Tavern
    May 25, 2022
  • Make Your Mark – WordPress.com News
    May 25, 2022

Tags

advanced coupons aioseo best wordpress themes categories vs tags chatbot choose a payment method constant contact contact form divi easy digital downloads editorial workflow facebook formidable forms google analytics landing page builder memberpress monsterinsights multi-author blogs nextiva optinmonster paypal pushengage search terms searchwp seedprod seo smash balloon stripe substack alternative tablepress TrustPulse uncanny automator updraftplus woocommerce woocommerce plugins wordpress credit card payments wordpress security wordpress seo wordpress seo tips wordpress theme builder wordpress themes wpdatatables wpforms wp mail smtp wp simple pay

Related Posts

12 Actions That Help Improve Your Google Keyword Rankings

  • May 26, 2022

WordPress.com Announces New Starter Plan For $5/Month – WP Tavern

  • May 25, 2022

Make Your Mark – WordPress.com News

  • May 25, 2022

About WPSensors

We provide the best WordPress maintenance and support to Web Design Agencies, Freelancers and Site Owners.

Explore our services and feel free to ask about any of our plans and strategies.

Contact us

WPSensors is a brand of Digital Arrange, Inc.  2035 Sunset Lake Road, Suite B-2, 19702.  Newark, Delaware.  [email protected]

Copyright © 2022 WPSensors - Website created by Global Internet Corp.