Page MenuHomePhabricator

{{#Babel:deu|...}}shows language code de instead of deu in Babel boxes
Closed, DeclinedPublic

Description

Typing {{#Babel:deu|...}} yields a Babel box showing the incorrect language code "de" instead of "deu"

Please amend.


Version: unspecified
Severity: trivial
URL: https://translatewiki.net/wiki/User:Purodha

Details

Reference
bz62715

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:55 AM
bzimport set Reference to bz62715.
bzimport added a subscriber: Unknown Object (MLST).

This is not about de/deu alone. There are many of the same kind.

TTO subscribed.

From looking at the Babel code (BabelLanguageCodes::getCode and the txt2cdb.php file), this seems to be done on purpose. We don't use codes like "deu" in the MediaWiki world, and for categorisation purposes we need to be consistent.