Nikki added a comment.

More detailed comments:

nl-informal and roa-tara are Wikimedia inventions, so they would definitely need to go into LocalNamesEn.php.

bxr and mo also seem to have been rejected a few years ago in http://unicode.org/cldr/trac/ticket/6763

All of the language-only codes I listed are in the subtag registry mentioned in the comment, but that only provides English names so adding support for that like they suggest might not be worth the effort (versus just adding the ones we need to LocalNamesEn.php).

The country variants (ko-kp, zh-mo, zh-my) could be generated from the language name we already have plus the country name from CLDR. There's also kk-cn, kk-kz, kk-tr, zh-cn, zh-hk, zh-sg, zh-tw (which are already in LocalNamesEn.php). That seems like a good idea, because then they would be automatically translated into lots of languages instead of most languages falling back to English or the native name.

Theoretically, the script variants (ady-cyrl, aeb-arab, aeb-latn, kbd-cyrl, ku-arab, shi-latn, shi-tfng, plus 34 others already in LocalNamesEn.php) could also be generated, but the script names in CLDR do not include the word "script". That's not ideal because some of the scripts share the same name as a language (e.g. ku-arab would become "Kurdish (Arabic)", the meaning of which is not very clear).


TASK DETAIL
https://phabricator.wikimedia.org/T151269

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Nikki
Cc: thiemowmde, Liuxinyu970226, Lea_Lacroix_WMDE, Aklapper, revi, Nikki, Soum213, D3r1ck01, MuhammadShuaib, Izno, Psychoslave, Wikidata-bugs, aude, Gryllida, Shizhao, Nikerabbit, Arrbee, santhosh, KartikMistry, Mbch331, Jay8g
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to