<p dir="auto">Implements the dialog from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3147340243" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/6103" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/6103/hovercard?comment_id=2985190722&comment_type=issue_comment" href="https://github.com/openstreetmap/openstreetmap-website/pull/6103#issuecomment-2985190722">#6103 (comment)</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/6119'>https://github.com/openstreetmap/openstreetmap-website/pull/6119</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6119/commits/1828820b0d14ebf02fded29e768896bbfa391bbb" class="commit-link">1828820</a>  Allow to skip language update in basic preferences</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6119/commits/f6fec94616edc1415c5b804a5200a990ea6ddcc6" class="commit-link">f6fec94</a>  Redirect to referer from preferences</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6119/commits/264c35a72b609fac405d0261cc6a0eb099d6f197" class="commit-link">264c35a</a>  Replace language select dropdown with modal dialog</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6119/commits/a52f29a5036bffe2f1eba1319c21806cd8719662" class="commit-link">a52f29a</a>  Test if language selector changes the language</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6119/commits/e7df652c912222601ba671918a8b461ab4585241" class="commit-link">e7df652</a>  Change language instead of opening preferences when logged in</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6119/commits/a61757ed76b7ed32f13a128218f11cb66464170c" class="commit-link">a61757e</a>  Put language select button next to login button</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6119/commits/9cf467f0c24db2873565d768b0e7fd8c22c02714" class="commit-link">9cf467f</a>  Add border language select button</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6119/commits/0b91f47d923669a9a00ae56b60e8d0aaeeeecef4" class="commit-link">0b91f47</a>  Put language select button next to burger in small layout</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6119/commits/bc18c1acf032b799048cd47e919ce017062b5dd7" class="commit-link">bc18c1a</a>  Highlight currently selected language</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6119/commits/f5eb2967a5245cfd0d576a3adb999dd722255638" class="commit-link">f5eb296</a>  Arrange languages in multiple columns</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6119/commits/ea36285b7e717f27f527ebaa0fdb68d72cedeef3" class="commit-link">ea36285</a>  Shorten language names for selector</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6119/commits/5e3694ee63650d5c05920dd5a90f1b0fdd90731b" class="commit-link">5e3694e</a>  Use small language notes where they don't matter much</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6119/files">13 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6119/files#diff-0e145ba000e96b1a45d230275e350e4e8514efb4db7dbcfa228fe1003896c9b4">app/assets/javascripts/application.js</a>
    (11)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6119/files#diff-f3d75a429346b0f71a92922e7bdc526c74f6211947050df3d331c05d3019e5b8">app/assets/javascripts/language_selector.js</a>
    (16)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6119/files#diff-e86a39e6d0b163f152db8843fc7d647a3f5d648de4a74f1732bef4474b6e5bc8">app/assets/stylesheets/common.scss</a>
    (22)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6119/files#diff-7fa710bd040d8d885557946a96067d60d18015d59110577252fcd455c5040254">app/controllers/preferences/basic_preferences_controller.rb</a>
    (12)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6119/files#diff-b33a044b5d76936173d876d924211f04d19a06c74120cb79cf33a7245730b19d">app/controllers/preferences/preferences_controller.rb</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6119/files#diff-6d2ef58207c92d1533287af551a075122ba98240a861819047a2ae77b7674f0b">app/views/layouts/_header.html.erb</a>
    (34)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6119/files#diff-072684000839e31a1b831d7ec6765333704036646d171c1b69c56dbe3b1c5ad6">app/views/layouts/_select_language_button.html.erb</a>
    (15)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6119/files#diff-9f84554383f840e8a48ea239674a50010388664db1f3da9eb7893f7d88198656">app/views/layouts/_select_language_list.html.erb</a>
    (19)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6119/files#diff-44438ce218f5287c58d0017f965d888715635d94280669896f75841fbd7b4cd7">config/locales/en.yml</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6119/files#diff-367b5655e143494250153cbee1c7f26cf2cb49ea30e3601564c54041d4857c94">config/ui_languages.yml</a>
    (14)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6119/files#diff-262ebdd7a1c28e17378a877865386b859fa07647c390f6c3a4fe050675efc551">test/controllers/preferences/basic_preferences_controller_test.rb</a>
    (11)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6119/files#diff-44a185df20feebf26015ae37dad28a0ad989fc1e2990cf3c5744ebb32fb2dcc9">test/system/select_language_test.rb</a>
    (49)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6119/files#diff-43c6cbf1d8474dfd3889f066ee578a693a1b3ca863f407b07663e0f59102b4ed">test/system/site_test.rb</a>
    (15)
  </li>
</ul>

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