aaw-team/language_matcher

Language recognition and redirection middleware for TYPO3

Installs: 20

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 1

Type:typo3-cms-extension

dev-master / 1.x-dev 2021-04-19 11:45 UTC

This package is auto-updated.

Last update: 2024-12-19 20:23:34 UTC


README

This extension implements a PSR-15 middleware that matches the Accept-Language HTTP header from a request with available site languages.

The results of the matching can then be used to redirect a client automatically to it's favourite language. In this case, a cookie is used to prevent redirection loops.

Redirection can be disabled though. In this case, the results of the matching will be made available as Aspect through the TYPO3 Context API.

While this extension is pretty zero-configuration, it offers some basic switches to fiddle with.

Installation

System requirements

Extension Installation

Install with Composer:

composer require aaw-team/language_matcher

Or, if you don't use composer, download and install the extension in TYPO3 Extension Manager.

Documentation

https://docs.typo3.org/p/aaw-team/language_matcher/master/en-us/

License

GNU General Public License v2.0 or later

Copyright

2020 by Agentur am Wasser | Maeder & Partner AG (https://www.agenturamwasser.ch)