<p></p>
<p dir="auto">In <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1395412686" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/3731" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/3731/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/3731">#3731</a> it was shown that the map key isn't displayed correctly for certain languages.</p>
<p dir="auto">The underlying cause of the problem is that we are using <code class="notranslate">.to_sentence</code> to join individually translated words, which is <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3731#issuecomment-1269667154" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/3731/hovercard">unnecessary</a> and causes this bug.</p>
<p dir="auto">This issue is here since the original PR was closed, and an alternative PR hasn't yet been created, and we need to ensure that we don't forget about this problem in the meantime.</p>
<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/issues/3816">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLJQDWVY3LSK767BATTWJZR3TANCNFSM6AAAAAASJI57CA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLMKMJ5JNGCFMVLV6QDWJZR3TA5CNFSM6AAAAAASJI57CCWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHFOKBR6M.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/issues/3816</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/issues/3816",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/3816",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>