WP Manifestindependent plugin directory
manifest / i18n / preserve-admin-language-in-admin-bar

Polylang add-on: Preserve admin language in admin bar

A polylang add-on to preserve the user selected administration language also in front-end admin bar.

★ 1stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/aucor/preserve-admin-language-in-admin-bar/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

By default the admin bar on the front-end site uses the current page locale, even if the user has selected to use a specific language for administration (Polylang default feature). This plugin reverts the default text domain to this selected administration language in front end as a quick fix.

Todo

  • Write better readme
  • Write about side effects
  • Handle RTL

Licence

GPL v2 or later.