跳到内容

Auto Dashboard Language

v180201

wizardsoft · 2018年2月14日 上架

Auto Dashboard Language: Set WordPress widgets language to browser language of visitor unless configured at user profile.

正在使用
10 以下
评分
暂无
累计下载
1,751
最近更新
2018年2月14日
需要 WordPress 3+已测试到 4.9.36

贡献者

If Auto Dashboard Language is installed and activated, the browser language preference is used to determine the WordPress Dashboard and widget language.

1) User visits WordPress site
2a) If the user is NOT logged in (anonymous):
The language preference set of the browser is compared to the installed WordPress languages. If any browser language in is installed, it is set as language for the user. If not, the global site language is used.
2b) If user is logged in:
If the user has a profile language configured (not equals ‘Site Default’) this language is used. If not:
The language preference set of the browser is compared to the installed WordPress languages. If any browser language in is installed, it is set as language for the user. If not, the global site language is used.

Plugin also fixes other plugins that don\’t recognize the profile language setting yet (introduced in WP 4.7).

If you use a caching plugin for anonymous users and wan’t to prevent presenting some of your widgets in a random users preferred language (when page is saved in cache) add define(‘WSADL_SKIP_ANONYMOUS’, true) to wp-config.php .

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums