[glotpress-updates] [GlotPress] #342: Cleanup to locales.php

GlotPress noreply at wordpress.org
Tue Jul 8 16:36:32 UTC 2014


#342: Cleanup to locales.php
--------------------------------+-----------------
 Reporter:  stuwest             |      Owner:
     Type:  enhancement         |     Status:  new
 Priority:  normal              |  Milestone:
Component:  locale information  |    Version:
 Keywords:  has-patch           |
--------------------------------+-----------------
 Cleanup patch to locales.php.  Makes it more consistent and also is a
 first pass at integrating some data from Unicode's Common Locale Data
 Repository (CLDR), a data set which Wikimedia, Debian, Mozilla, Google,
 Apple, others all support and which Unicode updates every six months (see
 http://cldr.unicode.org/). Here's what's in patch:

 - updated English name and native name based on CLDR (since these are
 visible below is a list of all changes to these; most are casing where
 languages that don't capitalize the initial letters of languages names now
 follow that rule for native name)
 - added CLDR code for those locales that have one
 - added first pass at language fallbacks. Considered using the CLDR
 fallback approach which is based on locale codes e.g. de_CH falls back to
 de. But we have enough locales not covered by CLDR we’ll need our own
 system. So started with what Mediawiki uses and then did some hacks to fit
 our own slugs.
 - added a few country codes and cleaned up some blank entries
 - added mysql collations for improved sorting
 - added some Google Play store locales (seem to use BCP 47 '-' v. Facebook
 using Unicode '_'); there's some more generalization we can do there
 - cleaned up ISO 639 codes to just use the highest level one (as a
 reference only; they don't seem to be used anywhere; added mi for Māori)
 - conformed object names to match slug (shouldn't be visible outside the
 class but should help avoid confusion)
 - misc. cleanup, consistent ordering

 Questions:
 - are nb and no duplicates of Norwegian Bokmål?
 - should we eliminate zn it seems a duplicate of the more updated zh-cn?
 - should we use Filipino (fil) instead of Tagalog (tl)? CLDR uses fil.
 - CLDR has a complete set of plural rules (see
 http://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html);
 should we add in here?
 - what other goodies should we add from CLDR?  it's got number formats,
 quote formats, casing, days, months, and lots more (see
 http://cldr.unicode.org/)

 Updates to language names:

 aa -- Native name updated from Afaraf to Qafar
 ast -- Native name updated from Asturianu to asturianu
 az -- Native name updated from Azərbaycan dili to azərbaycan
 bg -- Native name updated from Български to български
 bm -- Native name updated from Bamanankan to bamanakan
 bo -- Native name updated from བོད་སྐད to པོད་སྐད་
 bs -- Native name updated from Bosanski to bosanski
 ca -- Native name updated from Català to català
 cs -- Native name updated from čeština‎ to čeština
 da -- Native name updated from Dansk to dansk
 ee -- Native name updated from Eʋegbe to eʋegbe
 eo -- Native name updated from Esperanto to esperanto
 es-mx -- Native name updated from Español de México to español de México
 es -- English name updated from Spanish (Spain) to Spanish
 es -- Native name updated from Español to español
 et -- Native name updated from Eesti to eesti
 eu -- Native name updated from Euskara to euskara
 fi -- Native name updated from Suomi to suomi
 fr -- English name updated from French (France) to French
 fr -- Native name updated from Français to français
 fy -- English name updated from Frisian to Western Frisian
 fy -- Native name updated from Frysk to West-Frysk
 ga -- Native name updated from Gaelige to Gaeilge
 gl -- Native name updated from Galego to galego
 gsw -- Native name updated from Schwyzerdütsch to Schwiizertüütsch
 ha -- Native name updated from هَوُسَ to Hausa
 haw -- Native name updated from Ōlelo Hawaiʻi to ʻŌlelo Hawaiʻi
 he -- Native name updated from עִבְרִית to עברית
 hi -- Native name updated from हिन्दी to हिंदी
 hr -- Native name updated from Hrvatski to hrvatski
 hu -- Native name updated from Magyar to magyar
 hy -- Native name updated from Հայերեն to հայերեն
 ia -- Native name updated from Interlingua to interlingua
 is -- Native name updated from Íslenska to íslenska
 it -- Native name updated from Italiano to italiano
 kk -- Native name updated from Қазақ тілі to қазақ тілі
 km -- Native name updated from ភាសាខ្មែរ to ខ្មែរ
 ks -- Native name updated from कश्मीरी to کٲشُر
 ky -- English name updated from Kirghiz to Kyrgyz
 ky -- Native name updated from кыргыз тили to кыргызча
 lo -- Native name updated from ພາສາລາວ to ລາວ
 lt -- Native name updated from Lietuvių kalba to lietuvių
 lv -- Native name updated from latviešu valoda to latviešu
 mk -- Native name updated from македонски јазик to македонски
 mn -- Native name updated from Монгол to монгол
 nb -- English name updated from Norwegian (Bokmål) to Norwegian Bokmål
 nb -- Native name updated from Norsk bokmål to norsk bokmål
 nn -- English name updated from Norwegian (Nynorsk) to Norwegian Nynorsk
 nn -- Native name updated from Norsk nynorsk to nynorsk
 no -- English name updated from Norwegian to Norwegian Bokmål
 no -- Native name updated from Norsk to norsk
 os -- Native name updated from Ирон to ирон
 pl -- Native name updated from Polski to polski
 pt-br -- Native name updated from Português do Brasil to português do
 Brasil
 pt -- English name updated from Portuguese (Portugal) to Portuguese
 pt -- Native name updated from Português to português
 ro -- Native name updated from Română to română
 ru -- Native name updated from Русский to русский
 sah -- Native name updated from Сахалыы to саха тыла
 sk -- Native name updated from Slovenčina to slovenčina
 so -- Native name updated from Afsoomaali to Soomaali
 sr -- Native name updated from Српски језик to Српски
 sv -- Native name updated from Svenska to svenska
 tg -- Native name updated from тоҷикӣ to Тоҷикӣ
 tzm -- English name updated from Tamazight (Central Atlas) to Central
 Atlas Tamazight
 tzm -- Native name updated from ⵜⴰⵎⴰⵣⵉⵖⵜ to Tamaziɣt
 ug -- English name updated from Uighur to Uyghur
 ug -- Native name updated from Uyƣurqə to ئۇيغۇرچە
 uk -- Native name updated from Українська to українська
 uz -- Native name updated from O‘zbekcha to oʻzbekcha
 yo -- English name updated from Yorùbá to Yoruba
 yo -- Native name updated from èdè Yorùbá to Èdè Yorùbá
 zh-cn -- English name updated from Chinese (China) to Chinese

--
Ticket URL: <https://glotpress.trac.wordpress.org/ticket/342>
GlotPress <https://glotpress.trac.wordpress.org>
Easy comin', easy goin'


More information about the glotpress-updates mailing list