<p>This world is full of edge-cases. For example, we have mostly two letter language codes, but also</p>
<ul>
<li>pt-BR</li>
<li>zh-CN</li>
<li>zh-TW</li>
<li>be-Tarask</li>
</ul>
<p>I've also looked at i18n_data, and it has some strange translations. For example, for 'EL' ("Greek (Ελληνικά)") we would end up with things like:</p>
<pre><code>irb(main):008:0> I18nData.languages('DE')['EL']
=> "Neugriechisch (ab 1453)"
irb(main):009:0> I18nData.languages('EN')['EL']
=> "Greek, Modern (1453-)"
</code></pre>
<p>which might be technically accurate but it's not user-friendly.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/2298?email_source=notifications&email_token=AAK2OLKZF442ZBI5ZWQBRFLP5R7S7A5CNFSM4H5EOGA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZEB2DI#issuecomment-508042509">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLLFX23OMWVK4YX4RNDP5R7S7ANCNFSM4H5EOGAQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAK2OLMVTX4IHHPOCWJLY23P5R7S7A5CNFSM4H5EOGA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZEB2DI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/2298?email_source=notifications\u0026email_token=AAK2OLKZF442ZBI5ZWQBRFLP5R7S7A5CNFSM4H5EOGA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZEB2DI#issuecomment-508042509",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/2298?email_source=notifications\u0026email_token=AAK2OLKZF442ZBI5ZWQBRFLP5R7S7A5CNFSM4H5EOGA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZEB2DI#issuecomment-508042509",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>