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
Requires
- php: >=7.2
- matomo/device-detector: ^4.1
- typo3/cms-core: ^9.5.25 || ^10.4.14
Requires (Dev)
- nimut/testing-framework: ^5.0
Replaces
- typo3-ter/language_matcher: dev-master
This package is auto-updated.
Last update: 2024-11-19 20:11:02 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)