<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Yamen Hadla</title>
    <description>The latest articles on Forem by Yamen Hadla (@yamen).</description>
    <link>https://forem.com/yamen</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F623438%2F5cfeb1c0-78ca-461c-9e0c-ff8e3c45ebef.png</url>
      <title>Forem: Yamen Hadla</title>
      <link>https://forem.com/yamen</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/yamen"/>
    <language>en</language>
    <item>
      <title>Effortless Language Redirection - TYPO3 Extension</title>
      <dc:creator>Yamen Hadla</dc:creator>
      <pubDate>Thu, 23 Mar 2023 08:27:09 +0000</pubDate>
      <link>https://forem.com/visuellverstehen/effortless-language-redirection-typo3-extension-2514</link>
      <guid>https://forem.com/visuellverstehen/effortless-language-redirection-typo3-extension-2514</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;Hello fellow TYPO3 enthusiasts! I had the pleasure of cooperating with my colleague &lt;a class="mentioned-user" href="https://dev.to/malteriechmann"&gt;@malteriechmann&lt;/a&gt; to create a TYPO3 extension called &lt;code&gt;t3languageredirection&lt;/code&gt;, which provides an effortless and dependable way to redirect users to their preferred language. In this blog post, we will take a look at this simple project, and reveal how it can add user-friendliness to your multilingual website.&lt;/p&gt;

&lt;h2&gt;
  
  
  What does &lt;code&gt;t3languageredirection&lt;/code&gt; actually do?
&lt;/h2&gt;

&lt;p&gt;This &lt;strong&gt;open-source&lt;/strong&gt; 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.&lt;/p&gt;

&lt;p&gt;The &lt;code&gt;LanguageRedirectionMiddleware&lt;/code&gt; is implemented using the &lt;a href="https://www.php-fig.org/psr/psr-15/"&gt;PSR-15&lt;/a&gt; middleware interface, making it easy to integrate into your existing TYPO3 project.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why &lt;code&gt;t3languageredirection&lt;/code&gt;?
&lt;/h2&gt;

&lt;p&gt;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 flexible and adaptable solution.&lt;/p&gt;

&lt;p&gt;Using &lt;code&gt;t3languageredirection&lt;/code&gt; 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.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to use &lt;code&gt;t3languageredirection&lt;/code&gt;?
&lt;/h2&gt;

&lt;p&gt;To get started, simply install the extension using Composer:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;composer require visuellverstehen/t3languageredirection
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After installation the middleware will automatically handle language redirection. 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.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;t3languageredirection&lt;/code&gt; 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.&lt;/p&gt;

&lt;p&gt;Feel free to utilise it or to give us feedbacks, and if you could star the repository, we would appreciate it:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/visuellverstehen/t3languageredirection"&gt;https://github.com/visuellverstehen/t3languageredirection&lt;/a&gt;&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>typo3</category>
      <category>php</category>
      <category>github</category>
    </item>
  </channel>
</rss>
