JSM's User Locale Selector

描述

Add a user locale drop-down menu item in the WordPress admin back-end admin and front-end toolbar menus.

Perfect for anyone that needs to switch languages quickly and easily – allows logged-in users to change their preferred locale / language setting right from the toolbar menu (instead of having to update their WordPress user profile page).

The default WordPress behavior is to apply the user locale preference to the admin back-end only – this plugin extends the user locale / language preference to the front-end webpage as well.

There are no plugin settings – simply install and activate the plugin.

Do you use the Polylang plugin?

If the Polylang plugin is active, the user locale menu will automatically use the correct Polylang language URLs for the current webpage.

屏幕截图

  • An example user locale language selector in the WordPress front-end toolbar menu.

评价

2018年9月26日
A simple but effective plugin. The convenience of a quick admin language switcher saves precious seconds. Thanks.
2018年8月29日
This is the plugin I was looking for and was hard to find. It enables to get the front language according to the language specified in user profile. Thanks again for this great plugin. I hope you will keep it updated.
2017年4月9日
Hi, I think this plugin is really useful, stable and reliable. I've been recommending it in the BuddyPress forum and also now in my own translation helper plugin which I designed to work with this: [link removed] So excellent, 5 stars.
阅读所有5条评价

贡献者及开发者

“JSM's User Locale Selector” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

“JSM's User Locale Selector”插件已被翻译至3种本地话语言。 感谢所有译者为本插件所做的贡献。

将“JSM's User Locale Selector”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

Version Numbering

Version components: {major}.{minor}.{bugfix}[-{stage}.{level}]

  • {major} = Major structural code changes and/or incompatible API changes (ie. breaking changes).
  • {minor} = New functionality was added or improved in a backwards-compatible manner.
  • {bugfix} = Backwards-compatible bug fixes or small improvements.
  • {stage}.{level} = Pre-production release: dev < a (alpha) < b (beta) < rc (release candidate).

Repositories

Changelog / Release Notes

Version 2.2.0 (2021/11/26)

  • New Features
    • None.
  • Improvements
    • None.
  • Bugfixes
    • None.
  • Developer Notes
    • Removed the minimum WP version check.
  • Requires At Least
    • PHP v7.2.
    • WordPress v5.2.

Version 2.1.0 (2021/11/15)

  • New Features
    • None.
  • Improvements
    • None.
  • Bugfixes
    • None.
  • Developer Notes
    • Refactored the JSM_User_Locale->add_locale_toolbar() method.
  • Requires At Least
    • PHP v7.2.
    • WordPress v5.2.

Version 2.0.0 (2020/10/15)

Maintenance release.

  • New Features
    • None.
  • Improvements
    • Added a call to switch_to_locale() on the front-end.
  • Bugfixes
    • None.
  • Developer Notes
    • None.
  • Requires At Least
    • PHP v7.0.
    • WordPress v5.2.