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.