<p></p>
<p dir="auto">This is OSM problem in my opinion, and I believe I have reported this earlier already. The <code class="notranslate">zero</code> form should not be used in English. If you look at for example Latvian at <a href="https://unicode-org.github.io/cldr-staging/charts/37/supplemental/language_plural_rules.html" rel="nofollow">https://unicode-org.github.io/cldr-staging/charts/37/supplemental/language_plural_rules.html</a> you can see that the <code class="notranslate">zero</code> form is not just number 0.</p>
<p dir="auto">For most languages this is not a problem, but for languages like Latvian, the translation is either wrong or it is impossible to provide translation for "no X".</p>
<p dir="auto">This can be resolved in two ways:</p>
<ul dir="auto">
<li>Have a separate message when N is 0. This works for all languages, though it is a bit more work.</li>
<li>Hack the I18n library to add support for explicit integer forms. This was done in MediaWiki. Then you can replace <code class="notranslate">zero</code> form with <code class="notranslate">0</code> form.</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/3997#issuecomment-1493257298">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLLKWNSCCTIEY55TDC3W7EVJ3ANCNFSM6AAAAAAWP4YFX4">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLIABNSCIXJTHCVGK5TW7EVJ3A5CNFSM6AAAAAAWP4YFX6WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSZAFGFE.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/3997/1493257298</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/3997#issuecomment-1493257298",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/3997#issuecomment-1493257298",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>