<p dir="auto">Pass the full expanded list of preferred languages to the client and use that when looking for the best name for an object.</p>
<p dir="auto"><span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #4310.">Fixes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1958856067" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/4310" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/4310/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/4310">#4310</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/4311'>https://github.com/openstreetmap/openstreetmap-website/pull/4311</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4311/commits/5067c08b82b46909173a92a680e774fdb03eb204" class="commit-link">5067c08</a> Improve name selection with the query tool</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4311/files">3 files</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4311/files#diff-0e145ba000e96b1a45d230275e350e4e8514efb4db7dbcfa228fe1003896c9b4">app/assets/javascripts/application.js</a>
(1)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4311/files#diff-8275a6df0995b2af17f0b52a0dfe5a00f8b09d9d51b89516e2612a3faa9d8c0f">app/assets/javascripts/index/query.js</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4311/files#diff-5f3fc5e3977d242572aa1d08551f5eb557de0ccaff30370838ee9df5386ea0da">app/helpers/application_helper.rb</a>
(3)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4311.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/4311.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4311.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/4311.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/4311">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLJZA6KIHKUL5MURUZ3YA7TYHAVCNFSM6AAAAAA6N7DONKVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE2TSNRTG4ZTAMA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLJZRUIFT4SKHYCZ6TLYA7TYHA5CNFSM6AAAAAA6N7DONKWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHHJTNRGQ.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/4311</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/4311",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4311",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>