Skip to content

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

License

Notifications You must be signed in to change notification settings

visuellverstehen/t3languageredirection

Repository files navigation

t3languageredirection

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages