<p></p>
<p dir="auto">Some edge cases that I've spotted that could be resolved:</p>
<ul dir="auto">
<li>We use <code class="notranslate">zh-hk</code> whereas OCI uses <code class="notranslate">zh-HK</code>. We need to either map between these on import, or fix one or the other if their capitalisation is incorrect</li>
<li>We have a Moldovan translation in translatewiki, although <a href="https://en.wikipedia.org/wiki/Moldovan_language" rel="nofollow">Moldovan and Romanian are considered to be the same language</a>. The <code class="notranslate">mo</code> code is not used in ISO-639-1, although it's reserved to avoid confusion. Perhaps we should remove <code class="notranslate">mo</code> from translatewiki completely.</li>
<li>Translatewiki has <code class="notranslate">pt</code> and <code class="notranslate">pt-br</code>, but appears to export that to us as <code class="notranslate">pt-PT</code> and <code class="notranslate">pt-BR</code>. We have <code class="notranslate">pt-BR</code>, <code class="notranslate">pt-PT</code> and <code class="notranslate">pt</code> in our locales file, although the <code class="notranslate">pt</code> translation has not been updated for 8 years. I'm going to create a PR to remove the ancient <code class="notranslate">pt</code> translation, although this means that the mapping here (OCI has <code class="notranslate">pt</code> and <code class="notranslate">pt-BR</code>) will then break.</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/issues/3653#issuecomment-1210938879">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLJMUVFKOYCVGEQEGCTVYPIPZANCNFSM56FC46EA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLMQPPEKRT6ZMX7FGQ3VYPIPZA5CNFSM56FC46EKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOJAWXL7Y.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/issues/3653/1210938879</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/issues/3653#issuecomment-1210938879",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/3653#issuecomment-1210938879",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>