<p>Needs testing on netlify before merging to production site. Example test cases:</p>
<ol>
<li><code>curl -i -H 'Accept-Language: en' https://bisq.network|head -1</code> should 200 and serve / as normal</li>
<li><code>curl -i -H 'Accept-Language: es' https://bisq.network/|head -15</code> should 302 with Location: /es/</li>
<li><code>curl -i -H 'Accept-Language: es' https://bisq.network/dao/|head -15</code> should 302 with Location: /es/dao/</li>
</ol>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/bisq-network/bisq-website/pull/214'>https://github.com/bisq-network/bisq-website/pull/214</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Redirect user to localized pages based on Accept-Language header</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>A</strong>
    <a href="https://github.com/bisq-network/bisq-website/pull/214/files#diff-0">_data/languages.yml</a>
    (24)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq-website/pull/214/files#diff-1">_redirects</a>
    (117)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/bisq-network/bisq-website/pull/214.patch'>https://github.com/bisq-network/bisq-website/pull/214.patch</a></li>
  <li><a href='https://github.com/bisq-network/bisq-website/pull/214.diff'>https://github.com/bisq-network/bisq-website/pull/214.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq-website/pull/214?email_source=notifications&email_token=AJFFTNRN2EUN65M5EH7A2MTQGF7DDA5CNFSM4IPG6EVKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HHGH4RQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNXDBLIZ2RYZAGDFLETQGF7DDANCNFSM4IPG6EVA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AJFFTNWUMJKVB5C6DQ2XTH3QGF7DDA5CNFSM4IPG6EVKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HHGH4RQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq-website/pull/214?email_source=notifications\u0026email_token=AJFFTNRN2EUN65M5EH7A2MTQGF7DDA5CNFSM4IPG6EVKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HHGH4RQ",
"url": "https://github.com/bisq-network/bisq-website/pull/214?email_source=notifications\u0026email_token=AJFFTNRN2EUN65M5EH7A2MTQGF7DDA5CNFSM4IPG6EVKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HHGH4RQ",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>