Hoi, How are you going to deal with things like macro languages. As you know, some are valid for Wiki use (like ara - ar) ? Thanks, Gerard
On 31 August 2011 18:05, Robin Pepermans robinp.1273@gmail.com wrote:
Hi,
For Wikimedia Incubator, a list of ISO 639-1/3 language codes would be useful. I generated a PHP array based on http://sil.org/iso639-3/iso-639-3_20110525.tab, and I wanted to make an extension of that (which would be enabled on Incubator). FYI: the array contains 7706 ISO 639-3 codes, besides the ISO 639-1 codes.
Now, such a list already ships with the Babel extension, and I don't like duplication so I was thinking, maybe it could be added to core? Besides these two extensions, it could provide language names for {{#language}} which only works for languages known in MediaWiki's Names.php (unless CLDR extension is enabled and the second parameter is used).
Actually CLDR is incomplete itself and our CLDR extension has extra languages names that we added to the extension (which makes a third extension that could benefit of this).
And maybe there are more use cases... What do you think?
Regards, SPQRobin
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l