=== Multisite Auto Language Switcher ===
Contributors: epiphyt, kittmedia
Tags: multisite, switcher language, preferred, automatic
Requires at least: 6.1
Stable tag: 1.1.2
Tested up to: 7.0
Requires PHP: 7.4
License: GPL2
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Automatically switch to a user's preferred language if Multisite Language Switcher is enabled and active for the current page.

== Description ==

Multisite Auto Language Switcher is a handy extensions for [Multisite Language Switcher](https://wordpress.org/plugins/multisite-language-switcher/), which adds an automatic redirect to the preferred language of a user. To do so, it uses the preferred language the user has defined in its browser, which it automatically transmits on every request, to determine a matching language within your website. If a match could be found, it automatically redirects the user to this variant of the content.

**Note: This plugin requires the plugin [Multisite Language Switcher](https://wordpress.org/plugins/multisite-language-switcher/).**


== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/multisite-auto-language-switcher` directory, or install the plugin through the WordPress plugins screen directly.
1. Activate the plugin through the 'Plugins' screen in WordPress.


== Frequently Asked Questions ==

= Does Multisite Auto Language Switcher use cookies? =

Multisite Auto Language Switcher uses a cookie to prevent redirect loops between languages. In GDPR terms, it’s a required cookie to provide the functionality of redirecting a user to its preferred language. It is only stored for the current session and doesn’t contain any private data.

= Where are the settings? =

Logged-in users can define in their profile whether they want to disable being auto-redirected between languages.

= Who are you, folks? =

We are [Epiphyt](https://epiph.yt/en/), your friendly neighborhood WordPress plugin shop from southern Germany.

= How can I report security bugs? =

You can report security bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team help validate, triage and handle any security vulnerabilities. [Report a security vulnerability.](https://patchstack.com/database/vdp/multisite-auto-language-switcher)


== Changelog ==

= 1.1.2 =
* Added: Compatibility with WordPress 7.0

= 1.1.1 =
* Updated: Compatibility with the latest releases of Multisite Language Switcher

= 1.1.0 =
* Added: User option to disable redirect via profile settings
* Added: Redirect parameter is now being removed via JavaScript after redirecting

= 1.0.1 =
* Fixed: Unwanted redirects for certain pages
* Fixed: Redirecting again after explicitly clicking on a language in the language switcher

= 1.0.0 =
* Initial release
