[wordpress插件] Auto Dashboard Language汽车仪表板语言

wordpress 插件 文章 2020-02-24 04:40 598 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

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

如果安装并激活了自动仪表板语言,则使用浏览器语言首选项来确定WordPress仪表板和窗口小部件语言。

1) User visits WordPress site

1)用户访问WordPress网站

2a) If the user is NOT logged in (anonymous):

2a)如果用户未登录(匿名):

The language preference set of the browser is compared to the installed WordPress languages.

将浏览器的语言首选项集与已安装的WordPress语言进行比较。

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:

2b)如果用户已登录:

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.

将浏览器的语言首选项集与已安装的WordPress语言进行比较。

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

插件还修复了尚无法识别配置文件语言设置的其他插件(在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

如果您为匿名用户使用缓存插件,而又不想阻止以随机用户首选的语言(当页面保存在缓存中时)显示某些小部件,则将define('WSADL_SKIP_ANONYMOUS',true)添加到wp-config

.php .

.php。

安装步骤

    1. Upload the auto-dashboard-language folder to the /wp-content/plugins/ directory.
    2. 将自动仪表板语言文件夹上载到 / wp-content / plugins / 目录。

    3. Activate the plugin through the \’Plugins\’ menu in WordPress.

    4. 通过WordPress中的“插件”菜单激活插件。

      -OR-

      -OR-

      Install and activate from WordPress plugins dashboard feature.

    5. 从WordPress插件仪表板功能安装并激活。

下载地址
https://downloads.wordpress.org/plugin/auto-dashboard-language.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] Category Post Shortcode类别发布简码
[wordpress插件] Accordion Menu手风琴菜单
[wordpress插件] Content Locker内容柜
[wordpress插件] AutoAds PremiereAutoAds首映
[wordpress插件] Bootstrap modal popup引导模式弹出
随便看看
怎么添加小程序支付功能? 4516
教育科技公司申请微信支付被拒绝? 4799
微信公众号免300认证教程 5892
小程序已经上线,作为管理员无法在小程序数据助手查看数据? 5299
小程序广告组件通过审核,但是小程序内没有显示广告? 5067
企业微信通讯录账号被管理员误/恶意删除,怎么办? 9568
问题? 9048
如何快速搭建抽奖助手小程序(无需代码知识) 6177
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 7472
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 6793