<p dir="auto">A few fixes and cleanups for I18n fallback:</p>
<ul dir="auto">
<li>Disable client side fallback in javascript that isn't doing anything as we only load one locale - note that in the embed view the story is different as we load all locales there.</li>
<li>Drop an old monkey patch that no longer seems to be needed.</li>
<li>Fix the Norwegian fallback to work - currently it is being overwritten after it is added.</li>
</ul>

<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/5745'>https://github.com/openstreetmap/openstreetmap-website/pull/5745</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5745/commits/518c1607616006825bc28394979527e3ef58eaa1" class="commit-link">518c160</a>  Disable client side I18n fallbacks</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5745/commits/5cf3c73f34720955878965cb7ab5d2879fd6960c" class="commit-link">5cf3c73</a>  Drop monkey patch that no longer seems to be needed</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5745/commits/aed9c455fe0b4ee03a54750064ef52fd39419da7" class="commit-link">aed9c45</a>  Wait until rails has initialised to update I18n fallbacks</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5745/files">2 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5745/files#diff-0e145ba000e96b1a45d230275e350e4e8514efb4db7dbcfa228fe1003896c9b4">app/assets/javascripts/application.js</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5745/files#diff-0b97011a3519a8b0a8126c15996178d8315a8cad8d89ca465bc7aaf5adb2a4fb">config/initializers/i18n.rb</a>
    (12)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5745.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/5745.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5745.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/5745.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/5745">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLNIHLJBK4UDAA4GXTL2STN3JAVCNFSM6AAAAABYIEQ23CVHI2DSMVQWIX3LMV43ASLTON2WKOZSHA4TENJRGY2DSNQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLIUOLZB3QQGVIAN5W32STN3JA5CNFSM6AAAAABYIEQ23CWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHKY2CMSA.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/5745</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/5745",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5745",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>