Page MenuHomePhabricator

Remove non-BCP47 language code dlc (Dalecarlian) from cldr extension
Closed, ResolvedPublic

Description

The cldr extension includes a nonstandard dlc language code; @Nikki investigated where it came from:

The only one I can’t make any sense of is dlc, which MediaWiki says is “Dalecarlian”, yet Dalecarlian language doesn’t mention a dlc language code. Apparently the cldr extension (but not the actual CLDR) took it from Ethnologue in 2008.

I think this one should be removed from the CLDR extension. It's not a valid code and when I checked the other day, I wasn't able to find any current use of that code, nor anyone requesting it in the first place. It was just suddenly added in https://github.com/wikimedia/mediawiki-extensions-cldr/commit/45e8e42c040a5be96f380d48aea52819db7f1c7e with no explanation.

Some history of the dlc code:

Before ISO 639-3 was a thing, Ethnologue used its own set of codes (using uppercase letters). The 14th edition (2000) had an entry for Dalecarlian under the code DLC (link). For the 15th edition (2005), they switched to using codes from the draft ISO 639-3 standard (using lowercase letters). The 15th edition had an entry for dlc, saying that was also the ISO 639-3 code (link). ISO 639-3 was published in 2007 and did not include an entry for dlc or "Dalecarlian". The 16th edition (2009) did not include dlc any more (link). ISO 639-3 codes were not added to the IETF/IANA/BCP 47 subtag registry until much later, in 2009, so it didn't get included there either.

I assume dlc was in the draft version of ISO 639-3 and was removed before it was officially published, and then was removed from Ethnologue too, but it had already been added to LocalNamesEn.php by then.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

(Untagging IA false positive, I don’t think they need to care about this task just because it happens to link to the Wayback Machine.)

Change 975236 had a related patch set uploaded (by Jon Harald Søby; author: Jon Harald Søby):

[mediawiki/extensions/cldr@master] Remove `dlc` (Dalecarlian)

https://gerrit.wikimedia.org/r/975236

Change 975236 merged by jenkins-bot:

[mediawiki/extensions/cldr@master] Remove `dlc` (Dalecarlian)

https://gerrit.wikimedia.org/r/975236

Michael claimed this task.

As far as I can tell, the string dlc no longer exists in the cldr extension, so I think this is done indeed.

Michael removed a project: User-Michael.