Title: Disable Login Language Selector
Author: Rick Curran
Published: <strong>2022 年 1 月 25 日</strong>
Last modified: 2026 年 1 月 30 日

---

搜索插件

![](https://ps.w.org/disable-login-language-selector/assets/banner-772x250.png?rev
=2672121)

![](https://ps.w.org/disable-login-language-selector/assets/icon-256x256.png?rev
=2664057)

# Disable Login Language Selector

 作者：[Rick Curran](https://profiles.wordpress.org/rickcurran/)

[下载](https://downloads.wordpress.org/plugin/disable-login-language-selector.1.0.1.zip)

 * [详情](https://cn.wordpress.org/plugins/disable-login-language-selector/#description)
 * [评价](https://cn.wordpress.org/plugins/disable-login-language-selector/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/disable-login-language-selector/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/disable-login-language-selector/#developers)

 [支持](https://wordpress.org/support/plugin/disable-login-language-selector/)

## 描述

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

## 屏幕截图

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

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

## 安装

 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.

## 常见问题

### 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.

## 评价

![](https://secure.gravatar.com/avatar/cc2c6e0b255b6e44eceb95c52ef66138e56a832faa6d3104cb981f6e09db03b4?
s=60&d=retro&r=g)

### 󠀁[Golden](https://wordpress.org/support/topic/golden-3/)󠁿

 [impaled](https://profiles.wordpress.org/impaled/) 2022 年 1 月 31 日

Simple and effective. Thx

![](https://secure.gravatar.com/avatar/4a3b218aa3bd1cfd45440c8fd13dec7aec703d8b8a7ed319ce94bd2b81649859?
s=60&d=retro&r=g)

### 󠀁[Works exactly as described!](https://wordpress.org/support/topic/works-exactly-as-described-39/)󠁿

 [Gary](https://profiles.wordpress.org/barnettgs/) 2022 年 1 月 29 日

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! 🙂

![](https://secure.gravatar.com/avatar/11496c09c930d9c3031ec3ac4f22864b243fa1821256be2b739df04937c222a4?
s=60&d=retro&r=g)

### 󠀁[Works Great](https://wordpress.org/support/topic/works-great-8103/)󠁿

 [Web-Pepper](https://profiles.wordpress.org/pctevree/) 2022 年 1 月 27 日 1 回复

Small and simple, big thank you!

 [ 阅读所有3条评价 ](https://wordpress.org/support/plugin/disable-login-language-selector/reviews/)

## 贡献者及开发者

「Disable Login Language Selector」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Rick Curran ](https://profiles.wordpress.org/rickcurran/)

「Disable Login Language Selector」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/disable-login-language-selector/contributors)
为本插件所做的贡献。

[帮助将「Disable Login Language Selector」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/disable-login-language-selector)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/disable-login-language-selector/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/disable-login-language-selector/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/disable-login-language-selector/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/disable-login-language-selector/)。

## 更新日志

#### 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

## 额外信息

 *  版本 **1.0.1**
 *  最后更新：**8 月前**
 *  活跃安装数量 **1,000+**
 *  WordPress 版本 ** 5.9 或更高版本 **
 *  已测试的最高版本为 **6.9.10**
 *  PHP 版本 ** 5.6 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/disable-login-language-selector/)
   和 [Romanian](https://ro.wordpress.org/plugins/disable-login-language-selector/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/disable-login-language-selector)
 * 标签
 * [languages](https://cn.wordpress.org/plugins/tags/languages/)[login](https://cn.wordpress.org/plugins/tags/login/)
 *  [高级视图](https://cn.wordpress.org/plugins/disable-login-language-selector/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  3 条 5 星评价     ](https://wordpress.org/support/plugin/disable-login-language-selector/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/disable-login-language-selector/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/disable-login-language-selector/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/disable-login-language-selector/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/disable-login-language-selector/reviews/?filter=1)

[您的评价](https://wordpress.org/support/plugin/disable-login-language-selector/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/disable-login-language-selector/reviews/)

## 贡献者

 *   [ Rick Curran ](https://profiles.wordpress.org/rickcurran/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/disable-login-language-selector/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://paypal.me/rickcurranqreate)