Hello there! I am working on localizing numerical values in some Wikimedia
applications (XTools[0], namely). I've been using
PHP's NumberFormatter[1] and it works great for some languages like Arabic
and Persian.
However Kurdish, specifically ckb (as in ckb.wikipedia.org[2]), is
apparently missing from this PHP library. I've searched the whole internet
over, and can't figure out how I am meant to install it. Evidently it boils
down to what languages are installed on your machine, which I think under a
Unix-like system is "locale -a". Indeed I don't see ckb or any of the other
Kurdish variants like ku, kur, kmr, and sdh. The same is true when I run
this command on Toolfroge/VPS, where my tools are hosted.
Knowing that Kurdish Wikipedia[2] is a thing, and that MediaWiki is built
in PHP, I was hoping someone here would know what needs to be done to
support Kurdish in my application? I have all the Kurdish message
translations, via translatewiki, I just need to localize the numerical
values using the standard PHP NumberFormatter.
[0]
https://xtools.wmflabs.org
[1]
https://secure.php.net/manual/en/class.numberformatter.php
[2]
https://ckb.wikipedia.org
Many thanks for your time,
~MusikAnimal