This content originally appeared on DEV Community and was authored by Yamen Hadla
Introduction
Hello fellow TYPO3 enthusiasts! I had the pleasure of cooperating with my colleague @malteriechmann to create a new TYPO3 extension called t3languageredirection
, which provides an effortless and dependable way to redirect users to the preferred language version of your TYPO3 website. In this blog post, we will take a look at this fantastic project, and reveal how it can add user-friendliness to your multilingual website.
What does t3languageredirection
actually do?
This open-source extension, will configure a new frontend middleware that automatically redirects users to the appropriate language version of your website based on their browser's Accept-Language header.
The LanguageRedirectionMiddleware
is implemented using the PSR-15 middleware interface, making it easy to integrate into your existing TYPO3 project.
Why t3languageredirection
?
Unlike other TYPO3 redirection extensions, t3languageredirection does not require any additional configuration and is not dependent on the user's IP address. Additionally, it is designed to be independent of the underlying web servers, providing a highly flexible and adaptable solution. Say goodbye to complicated setups and hello to effortless language redirection!
Using t3languageredirection
will improve the user experience of a website and make it more accessible to a wider audience. Whether your website is a small blog or a large e-commerce site, this extension is a nice-to-have tool for anyone looking to create a multilingual TYPO3 website.
How to use t3languageredirection
?
To get started, simply install the extension using Composer:
composer require visuellverstehen/t3languageredirection
After installation the middleware will automatically handle language redirection of your website. This means that visitors to your site will be redirected to the language version that best suits their needs without any additional effort on your part.
Conclusion
The t3languageredirection
extension simplifies the language redirection of your multilingual website with easy installation, automatic redirection, and seamless compatibility with any hosting environment. The extension is still in the testing phase, and we are constantly working to refine and improve its functionality.
Feel free to utilise it or to give us feedbacks, and if you could star the repository, we would appreciate it:
https://github.com/visuellverstehen/t3languageredirection
This content originally appeared on DEV Community and was authored by Yamen Hadla
Yamen Hadla | Sciencx (2023-03-23T08:27:09+00:00) Effortless Language Redirection TYPO3 Extension. Retrieved from https://www.scien.cx/2023/03/23/effortless-language-redirection-typo3-extension/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.