Pular para o conteúdo
  • Acessar
  • Cadastre-se
WordPress.org

Brasil

  • Temas
  • Plugins
  • Novidades
  • Suporte
    • Documentação
    • Fóruns
  • Sobre
  • Documentação
  • Participe
    • Guias e diretrizes
  • Obter o WordPress
Obter o WordPress

Plugins

  • Meus favoritos
  • Betas
  • Desenvolvedores
Baixar

Disable Login Language Selector

Por Rick Curran
  • Detalhes
  • Avaliações
  • Instalação
  • Desenvolvimento
Suporte

Descrição

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

Imagens de tela

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

Instalação

  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.

FAQ

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.

Avaliações

Golden

impaled 31 de janeiro de 2022
Simple and effective. Thx

Works exactly as described!

Gary 29 de janeiro de 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 janeiro de 2022 1 resposta
Small and simple, big thank you!
Leia todas as 3 avaliações

Colaboradores e desenvolvedores

“Disable Login Language Selector” é um software com código aberto. As seguintes pessoas contribuíram para este plugin.

Colaboradores
  • Rick Curran

“Disable Login Language Selector” foi traduzido para 1 localização. Agradecemos aos tradutores por suas contribuições.

Traduzir “Disable Login Language Selector” para o seu idioma.

Interessado no desenvolvimento?

Navegue pelo código, dê uma olhada no repositório SVN ou assine o registro de desenvolvimento via RSS.

Registro de alterações

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

  • Versão: 1.0.1
  • Última atualização: 2 meses atrás
  • Instalações ativas: 600+
  • Versão do WordPress: 5.9 ou maior
  • Testado até o WordPress: 6.1.1
  • Versão do PHP: 5.6 ou maior
  • Idiomas:

    English (US) e Romanian.

    Traduza para o seu idioma

  • Tags:
    languageslogin
  • Panorama avançado

Classificações

Ver todas
  • 5 estrelas 3
  • 4 estrelas 0
  • 3 estrelas 0
  • 2 estrelas 0
  • 1 estrela 0
Faça o login para enviar uma avaliação.

Colaboradores

  • Rick Curran

Suporte

Tem algo a dizer? Precisa de ajuda?

Ver fórum de suporte

Doar

Gostaria de apoiar o desenvolvimento deste plugin?

Faça uma doação a este plugin

  • Sobre
  • Novidades
  • Hospedagem
  • Doar
  • Swag
  • Documentação
  • Desenvolvedores
  • Participe
  • Aprenda
  • Mostruário
  • Plugins
  • Temas
  • Padrões
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacidade
  • Código público
WordPress.org
WordPress.org

Brasil

  • Visite nossa página no Facebook
  • Visite nossa conta no Twitter
  • Visite nossa conta no Instagram
  • Visite nossa conta no LinkedIn
Código é Poesia.