visuellverstehen/t3languageredirection

This TYPO3 package provides a middleware that automatically redirects users to the preferred language URL based on their browser's Accept-Language header.

Installs: 1 014

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 5

Forks: 0

Open Issues: 1

Type:typo3-cms-extension

1.2.0 2023-04-11 07:48 UTC

This package is auto-updated.

Last update: 2024-04-11 10:04:33 UTC


README

A simple middleware language redirect which automatically redirects users to the preferred language URL based on their browser's Accept-Language header.

How to use

You can easily install this extension using Composer:

composer require visuellverstehen/t3languageredirection

That's it! No further action required after installation.

How does it work

This extention will configure a new frontend middleware to your TYPO3 project. This middleware is called LanguageRedirectionMiddleware. It is designed to handle simple language redirection for the base URL of a website. It is implemented using the PSR-15 middleware interface.

Overall, this middleware helps to ensure that users are directed to the appropriate language version of a website, based on their browser language and the website's configured languages.