Saltar ao contido
WordPress.org

Galego

  • Temas
  • Plugins
  • Novas
  • Acerca de
  • Padróns
  • Colabora
  • Equipo
  • Meetups
  • Contacto
  • Homenaxes
  • Consigue WordPress
Consigue WordPress
WordPress.org

Plugin Directory

Disable Login Language Selector

  • Enviar un plugin
  • Os meus favoritos
  • Iniciar sesión
  • Enviar un plugin
  • Os meus favoritos
  • Iniciar sesión

Disable Login Language Selector

Por Rick Curran
Descargar
  • Detalles
  • Valoracións
  • Instalación
  • Desenvolvemento
Soporte

Descrición

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' );

Capturas

  • This screen shot shows the language dropdown that will be hidden when this plugin is enabled.

Instalación

  1. Upload the plugin package to the plugins directory of your site, or search for “Disable Login Language Selector” in the WordPress plugins directory from the Plugins section of your WordPress dashboard.
  2. Once uploaded or installed you must activate the plugin from the Plugins section of your WordPress dashboard.
  3. The language selector should no longer appear on the login screen of your site.

Preguntas frecuentes

What does this plugin do?

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' );

Why would I use this plugin?

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.

I have installed the plugin but I still see the language selector

Check that the plugin has been correctly uploaded, installed and activated.

Comentarios

Golden

impaled 31 de Xaneiro, 2022
Simple and effective. Thx

Works exactly as described!

Gary 29 de Xaneiro, 2022
I have tried adding the code to functions.php as you have mentioned, however everytime there is a theme update (default wordpress theme which I don’t use, I use a 3rd party theme) but language selector re-appeared, regardless of whether I use this theme or not! So I decided it is best to download this plugin so the language selector will stay deactivated! 🙂

Works Great

Web-Pepper 27 de Xaneiro, 2022 1 resposta
Small and simple, big thank you!
Ler todas as 3 opinións

Colaboradores e desenvolvedores

“Disable Login Language Selector” é un software de código aberto. As seguintes persoas colaboraron con este plugin.

Colaboradores
  • Rick Curran

“Disable Login Language Selector” foi traducido a 1 idioma. Grazas aos desenvolvedores polas súas contribucións.

Traduce “Disable Login Language Selector” ao teu idioma.

Interesado no desenvolvemento?

Revisa o código, bota unha ollada aorepositorio SVN, ou subscríbete ao log de desenvolvemento por RSS.

Rexistro de cambios

1.0.1

  • No functional changes, this update simply modifies the short description in plugin file to match what is written in the readme file description

1.0

  • Initial plugin build.
  • Added PayPal donation link

Meta

  • Versión 1.0.1
  • Última actualización Fai 2 meses
  • Instalacións activas 1.000+
  • Versión de WordPress 5.9 ou superior
  • Probado ata 6.9.4
  • Versión de PHP 5.6 ou superior
  • Idiomas

    English (US) e Romanian.

    Traduce ao teu idioma

  • Etiquetas
    languageslogin
  • Vista avanzada

Valoracións

5 de 5 estrelas
  • 3 valoracións de 5 estrelas 5 estrelas 3
  • 0 valoracións de 4 estrelas 4 estrelas 0
  • 0 valoracións de 3 estrelas 3 estrelas 0
  • 0 valoracións de 2 estrelas 2 estrelas 0
  • 0 valoracións de 1 estrelas 1 estrela 0

Your review

Ver todas as valoracións

Colaboradores

  • Rick Curran

Soporte

Tes algo que dicir? Necesitas axuda?

Ver o foro de soporte

Doar

Queres apoiar o progreso deste plugin?

Dona a este plugin

  • Acerca de
  • Novas
  • Aloxamento
  • Privacidade
  • Escaparate
  • Temas
  • Plugins
  • Padróns
  • Aprender
  • Soporte
  • Desenvolvedores
  • WordPress.TV ↗
  • Involúcrate
  • Eventos
  • Doar ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Galego

  • Visita la cuenta de X (anteriormente Twitter)
  • Visita a nosa conta de Bluesky
  • Visita a nosa conta de Mastodon
  • Visita a nosa conta de Threads
  • Visita a nosa páxina de Facebook
  • Visita a nosa conta de Instagram
  • Visita a nosa conta de LinkedIn
  • Visita a nosa conta de TikTok
  • Visita a nosa canle de YouTube
  • Visita a nosa conta de Tumblr
O código é poesía.
The WordPress® trademark is the intellectual property of the WordPress Foundation.