<p dir="auto">Removes the usage of the <code class="notranslate">currentLocale</code> function since the update to I18n v4 in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2923162875" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/5811" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/5811/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/5811">#5811</a> which <span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #5821.">fixes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2932449649" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/5821" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/5821/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/5821">#5821</a></p>

<hr>

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

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5822/commits/53292abd380a0aa0d97cbaafd7ae41a117e13034" class="commit-link">53292ab</a>  Get current locale without function</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5822/files">2 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5822/files#diff-a9cecd581b2c9e4e43ee8e0b73ee178a13779019da8bcb9c13d209843c716711">app/assets/javascripts/index/directions/fossgis_valhalla.js</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5822/files#diff-ef6651e3e37e12a6ee24e6c9efaa98ddd129a20a5631401cea6e0642fcfffb7a">app/assets/javascripts/index/directions/graphhopper.js</a>
    (2)
  </li>
</ul>

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

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5822">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLK2IO5HU5BXSQYJA532VGT2LAVCNFSM6AAAAABZLPBEB6VHI2DSMVQWIX3LMV43ASLTON2WKOZSHEZTENRUGI4DANI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLPAQY2M7HBTH7SWVFL2VGT2LA5CNFSM6AAAAABZLPBEB6WGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHK5TET6U.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/5822</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/5822",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5822",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>