<p dir="auto">This PR introduces <a href="https://github.com/samrjenkins/yalphabetize">yalphabetize</a> to the project. I would love to hear your thoughts/feedback.</p>
<p dir="auto">It provides us with the ability to quickly normalise/alphabetise YAML files such as locales and to maintain this normalisation into the future.</p>
<p dir="auto">Advantages of alphabetising YAML include:</p>
<ul dir="auto">
<li>easier to locate specific keys in large files</li>
<li>easier to spot duplicate keys</li>
<li>easier to compare equivalent locale YAMLs for different languages</li>
</ul>
<p dir="auto">Yalphabetize can also be integrated into CI to ensure that future PRs maintain the alphabetisation of locale files.</p>
<p dir="auto">I am slightly unsure how to handle alphabetisation of the other languages because the CONTRIBUTION guidelines state that these files are maintained via a 3rd party. Is it ok to sort these other locales in the same way as en.yml?</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/3459'>https://github.com/openstreetmap/openstreetmap-website/pull/3459</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3459/commits/aa4a9589d9c7c317dc947329e459f1b017ccd700" class="commit-link">aa4a958</a>  add yalphabetize for locale normalisation</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3459/commits/c18406e823cb4dcaf1c686253aa00e2f18687c31" class="commit-link">c18406e</a>  add yalphabetize to CI</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3459/commits/3c5a54323abbc7018650308b31f0be5d54b78b9a" class="commit-link">3c5a543</a>  normalise en.yml</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3459/files">5 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3459/files#diff-107e910e9f2ebfb9a741fa10b2aa7100cc1fc4f5f3aca2dfe78b905cbd73c0d2">.github/workflows/lint.yml</a>
    (24)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3459/files#diff-eac1d21e077d3245d8261a2a859d2a28151197272e1d7196052fbc44e0079478">.yalphabetize.yml</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3459/files#diff-d09ea66f8227784ff4393d88a19836f321c915ae10031d16c93d67e6283ab55f">Gemfile</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3459/files#diff-89cade48462044ee1b672dc5f4c3ec250fbd29effcd8932096a23c1283c6731f">Gemfile.lock</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3459/files#diff-44438ce218f5287c58d0017f965d888715635d94280669896f75841fbd7b4cd7">config/locales/en.yml</a>
    (3557)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3459.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/3459.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3459.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/3459.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/3459">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLMQEVX5JPHL2J4GH3TU3JDKFANCNFSM5OONMZDQ">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLI3IO5PXTTJ6SVGJPDU3JDKFA5CNFSM5OONMZD2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4Q66LBEQ.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/3459</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/3459",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3459",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>