该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Auto Dashboard Language

描述

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 .

安装

  1. Upload the auto-dashboard-language folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the \’Plugins\’ menu in WordPress.
    -OR-
    Install and activate from WordPress plugins dashboard feature.

常见问题

Installation Instructions
  1. Upload the auto-dashboard-language folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the \’Plugins\’ menu in WordPress.
    -OR-
    Install and activate from WordPress plugins dashboard feature.

评价

此插件暂无评价。

贡献者及开发者

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

贡献者

更新日志

180201 Initial release