<p></p>
<p><b>@1ec5</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6313#discussion_r2268996058">app/views/layouts/_select_language_list.html.erb</a>:</p>
<pre style='color:#555'>> +        <small lang="en" class="english_name d-block text-secondary">
+          <%= language[:english_name] %>
+        </small>
</pre>
<p dir="auto">We use <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames" rel="nofollow"><code class="notranslate">Intl.DisplayNames</code></a> elsewhere to show an arbitrary language’s name in the currently active language:</p>
<p dir="auto"><a href="https://github.com/openstreetmap/openstreetmap-website/blob/c0debf6a95e87994c195e7ea7f6db39180cfaea4/app/assets/javascripts/index/element.js#L114">https://github.com/openstreetmap/openstreetmap-website/blob/c0debf6a95e87994c195e7ea7f6db39180cfaea4/app/assets/javascripts/index/element.js#L114</a></p>
<p dir="auto">If an English speaker flips to Marathi out of curiosity, this change helps them find it by the English name, and they’ll also be able to switch back to English easily, because the main link text will always say “English”. Then they can go to any other language using the English name again. However, a Greek speaker won’t have the same luxury of finding Marathi by the Greek name without recognizing Marathi’s writing system or language code.</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/pull/6313#discussion_r2268996058">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLPALHCH2BF37UQNY2L3NGLXDAVCNFSM6AAAAACDRTVSROVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZTCMBZGA3TAMRQHA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLPFP4KV7PSNYMFEIMT3NGLXDA5CNFSM6AAAAACDRTVSROWGG33NNVSW45C7OR4XAZNRKB2WY3CSMVYXKZLTORJGK5TJMV32UY3PNVWWK3TUL5UWJTVZKCSYA.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/6313/review/3109070208</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/6313#discussion_r2268996058",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/6313#discussion_r2268996058",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>