[PATCH] localedata: fix LC_ADDRESS.country_car entries

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] localedata: fix LC_ADDRESS.country_car entries

Mike Frysinger
These entries have been checked mostly against Wikipedia, but also using
the sources it cites (like the UN and other treaty sources).

Fix incorrect values:
  en_BW:  changing RB to BW
  kl_GL:  changing GRO to KN
  km_KH:  changing LAO to KH
  my_MM:  changing BA to MYA
  oc_FR:  changing F to F
  tr_CY:  changing TR to CY
  wae_CH: changing DH to CH

Add missing entries:
  aa_DJ:  changing to DJI
  ak_GH:  changing to GH
  ar_OM:  changing to OM
  ar_SS:  changing to SUD
  ar_YE:  changing to YAR
  bo_CN:  changing to CHN
  cmn_TW: changing to RC
  dv_MV:  changing to MV
  dz_BT:  changing to BHT
  en_AG:  changing to AG
  es_HN:  changing to HN
  es_PR:  changing to PR
  hak_TW: changing to RC
  lzh_TW: changing to RC
  nan_TW: changing to RC
  nan_TW@latin: changing to RC
  nl_AW:  changing to AUA
  pap_AW: changing to AUA
  so_DJ:  changing to DJI
  the_NP: changing to NEP
  ug_CN:  changing to CHN
  yue_HK: changing to HK
  zh_CN:  changing to CHN
  zh_HK:  changing to HK
  zh_TW:  changing to RC
---
 localedata/locales/aa_DJ        | 2 +-
 localedata/locales/ak_GH        | 1 +
 localedata/locales/ar_OM        | 1 +
 localedata/locales/ar_SS        | 1 +
 localedata/locales/ar_YE        | 1 +
 localedata/locales/bo_CN        | 2 +-
 localedata/locales/cmn_TW       | 1 +
 localedata/locales/dv_MV        | 1 +
 localedata/locales/dz_BT        | 1 +
 localedata/locales/en_AG        | 1 +
 localedata/locales/en_BW        | 3 +--
 localedata/locales/es_HN        | 1 +
 localedata/locales/es_PR        | 1 +
 localedata/locales/hak_TW       | 1 +
 localedata/locales/kl_GL        | 3 +--
 localedata/locales/km_KH        | 2 +-
 localedata/locales/lzh_TW       | 1 +
 localedata/locales/my_MM        | 3 +--
 localedata/locales/nan_TW       | 1 +
 localedata/locales/nan_TW@latin | 2 +-
 localedata/locales/nl_AW        | 1 +
 localedata/locales/oc_FR        | 2 +-
 localedata/locales/pap_AW       | 2 +-
 localedata/locales/so_DJ        | 2 +-
 localedata/locales/the_NP       | 1 +
 localedata/locales/tr_CY        | 3 +--
 localedata/locales/ug_CN        | 2 +-
 localedata/locales/wae_CH       | 2 +-
 localedata/locales/yue_HK       | 1 +
 localedata/locales/zh_CN        | 2 +-
 localedata/locales/zh_HK        | 1 +
 localedata/locales/zh_TW        | 2 +-
 32 files changed, 32 insertions(+), 19 deletions(-)

diff --git a/localedata/locales/aa_DJ b/localedata/locales/aa_DJ
index 8e2263b..f11b746 100644
--- a/localedata/locales/aa_DJ
+++ b/localedata/locales/aa_DJ
@@ -153,7 +153,7 @@ country_post  "<U0044><U004A><U0049>"
 country_ab2   "<U0044><U004A>"
 country_ab3   "<U0044><U004A><U0049>"
 country_num   262
-% country_car   unknown
+country_car "<U0044><U004A><U0049>"
 % country_isbn  unknown, Need ISO 2108
 lang_name     "<U0051><U0061><U0066><U0061><U0072>"
 % aa
diff --git a/localedata/locales/ak_GH b/localedata/locales/ak_GH
index a5ede75..c417888 100644
--- a/localedata/locales/ak_GH
+++ b/localedata/locales/ak_GH
@@ -191,6 +191,7 @@ country_ab2  "<U0047><U0048>"
 % GHA
 country_ab3  "<U0047><U0048><U0041>"
 country_num  288
+country_car "<U0047><U0048>"
 country_isbn 9964
 % Akan
 lang_name    "<U0041><U006B><U0061><U006E>"
diff --git a/localedata/locales/ar_OM b/localedata/locales/ar_OM
index 94d15f1..96c573a 100644
--- a/localedata/locales/ar_OM
+++ b/localedata/locales/ar_OM
@@ -184,6 +184,7 @@ postal_fmt  "<U0025><U007A><U0025><U0063><U0025><U0054><U0025><U0073>/
 country_ab2 "<U004F><U004D>"
 country_ab3 "<U004F><U004D><U004E>"
 country_num 512
+country_car "<U004F><U004D>"
 lang_name    "<U0627><U0644><U0639><U0631><U0628><U064A><U0629>"
 % ar
 lang_ab      "<U0061><U0072>"
diff --git a/localedata/locales/ar_SS b/localedata/locales/ar_SS
index 8ce14be..bab3e3b 100644
--- a/localedata/locales/ar_SS
+++ b/localedata/locales/ar_SS
@@ -192,6 +192,7 @@ country_ab2 "<U0053><U0053>"
 % SSD
 country_ab3 "<U0053><U0053><U0044>"
 country_num 728
+country_car "<U0053><U0055><U0044>"
 lang_name    "<U0627><U0644><U0639><U0631><U0628><U064A><U0629>"
 % ar
 lang_ab      "<U0061><U0072>"
diff --git a/localedata/locales/ar_YE b/localedata/locales/ar_YE
index 5b60356..0298e9a 100644
--- a/localedata/locales/ar_YE
+++ b/localedata/locales/ar_YE
@@ -184,6 +184,7 @@ postal_fmt  "<U0025><U007A><U0025><U0063><U0025><U0054><U0025><U0073>/
 country_ab2 "<U0059><U0045>"
 country_ab3 "<U0059><U0045><U004D>"
 country_num 887
+country_car "<U0059><U0041><U0052>"
 lang_name    "<U0627><U0644><U0639><U0631><U0628><U064A><U0629>"
 % ar
 lang_ab      "<U0061><U0072>"
diff --git a/localedata/locales/bo_CN b/localedata/locales/bo_CN
index c45d294..e413930 100644
--- a/localedata/locales/bo_CN
+++ b/localedata/locales/bo_CN
@@ -169,7 +169,7 @@ country_name "<U0F40><U0FB2><U0F74><U0F44><U0F0B><U0F67><U0FAD><U0F0B><U0F58><U0
 country_ab2 "<U0043><U004E>"
 country_ab3 "<U0043><U0048><U004E>"
 country_num 156
-%country_car "FIXME"
+country_car "<U0043><U0048><U004E>"
 country_isbn "<U0037>"
 lang_name     "<U0F54><U0F7C><U0F51><U0F0B><U0F66><U0F90><U0F51><U0F0B>"
 % bo
diff --git a/localedata/locales/cmn_TW b/localedata/locales/cmn_TW
index 77989e0..1d3f2e5 100644
--- a/localedata/locales/cmn_TW
+++ b/localedata/locales/cmn_TW
@@ -199,6 +199,7 @@ country_ab2  "<U0054><U0057>"
 % TWN
 country_ab3  "<U0054><U0057><U004E>"
 country_num  158
+country_car "<U0052><U0043>"
 country_isbn 957
 % 漢語官話
 lang_name    "<U6F22><U8A9E><U5B98><U8A71>"
diff --git a/localedata/locales/dv_MV b/localedata/locales/dv_MV
index 22f68b1..40ce684 100644
--- a/localedata/locales/dv_MV
+++ b/localedata/locales/dv_MV
@@ -182,6 +182,7 @@ postal_fmt    "<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
 <U004E><U0025><U0025><U007A><U0020><U0025><U0054><U0025>/
 <U004E><U0025><U0063><U0025><U004E>"
 country_num 462
+country_car "<U004D><U0056>"
 % lang_name FIXME
 % Cannot represent Dhivehi in Thaana script
 % http://en.wikipedia.org/wiki/Maldivian_language
diff --git a/localedata/locales/dz_BT b/localedata/locales/dz_BT
index 755ae74..678b4bd 100644
--- a/localedata/locales/dz_BT
+++ b/localedata/locales/dz_BT
@@ -664,6 +664,7 @@ country_name "<U0F60><U0F56><U0FB2><U0F74><U0F42><U0F0D>"
 country_ab2 "<U0042><U0054>"
 country_ab3 "<U0042><U0054><U004E>"
 country_num 064
+country_car "<U0042><U0048><U0054>"
 %FIXME
 %country_isbn  ""
 % རྫོང་ཁ
diff --git a/localedata/locales/en_AG b/localedata/locales/en_AG
index 2822838..1834338 100644
--- a/localedata/locales/en_AG
+++ b/localedata/locales/en_AG
@@ -93,6 +93,7 @@ postal_fmt    "<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
 country_ab2   "<U0041><U0047>"
 country_ab3   "<U0041><U0054><U0047>"
 country_num 028
+country_car "<U0041><U0047>"
 % English
 lang_name     "<U0045><U006E><U0067><U006C><U0069><U0073><U0068>"
 % en
diff --git a/localedata/locales/en_BW b/localedata/locales/en_BW
index bc482e0..c67e1ec 100644
--- a/localedata/locales/en_BW
+++ b/localedata/locales/en_BW
@@ -114,8 +114,7 @@ postal_fmt    "<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
 country_ab2 "<U0042><U0057>"
 country_ab3 "<U0042><U0057><U0041>"
 country_num 072
-% RB
-country_car    "<U0052><U0042>"
+country_car "<U0042><U0057>"
 % English
 lang_name     "<U0045><U006E><U0067><U006C><U0069><U0073><U0068>"
 % en
diff --git a/localedata/locales/es_HN b/localedata/locales/es_HN
index 487d515..98ee473 100644
--- a/localedata/locales/es_HN
+++ b/localedata/locales/es_HN
@@ -153,6 +153,7 @@ postal_fmt    "<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
 country_ab2   "<U0048><U004E>"
 country_ab3   "<U0048><U004E><U0044>"
 country_num   340
+country_car "<U0048><U004E>"
 % es
 lang_ab      "<U0065><U0073>"
 % Español
diff --git a/localedata/locales/es_PR b/localedata/locales/es_PR
index 8fd51cf..b0b600c 100644
--- a/localedata/locales/es_PR
+++ b/localedata/locales/es_PR
@@ -144,6 +144,7 @@ postal_fmt    "<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
 country_ab2   "<U0050><U0052>"
 country_ab3   "<U0050><U0052><U0049>"
 country_num   630
+country_car "<U0050><U0052>"
 % Español
 lang_name     "<U0045><U0073><U0070><U0061><U00F1><U006F><U006C>"
 % es
diff --git a/localedata/locales/hak_TW b/localedata/locales/hak_TW
index 1b5591e..7d79fad 100644
--- a/localedata/locales/hak_TW
+++ b/localedata/locales/hak_TW
@@ -198,6 +198,7 @@ country_ab2  "<U0054><U0057>"
 % TWN
 country_ab3  "<U0054><U0057><U004E>"
 country_num  158
+country_car "<U0052><U0043>"
 country_isbn 957
 % 漢語客家語
 lang_name    "<U6F22><U8A9E><U5BA2><U5BB6><U8A9E>"
diff --git a/localedata/locales/kl_GL b/localedata/locales/kl_GL
index 4d9972c..29c182b 100644
--- a/localedata/locales/kl_GL
+++ b/localedata/locales/kl_GL
@@ -140,8 +140,7 @@ postal_fmt    "<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
 country_ab2 "<U0047><U004C>"
 country_ab3 "<U0047><U0052><U004C>"
 country_num 304
-% GRO
-country_car  "<U0047><U0052><U004F>"
+country_car "<U004B><U004E>"
 % Kalaallisut
 lang_name    "<U004B><U0061><U006C><U0061><U0061><U006C><U006C><U0069><U0073><U0075><U0074>"
 % kl
diff --git a/localedata/locales/km_KH b/localedata/locales/km_KH
index 0baf31f..d21efc0 100644
--- a/localedata/locales/km_KH
+++ b/localedata/locales/km_KH
@@ -1872,7 +1872,7 @@ country_name "<U1780><U1798><U17D2><U1796><U17BB><U1787><U17B6>"
 country_ab2 "<U004B><U0048>"
 country_ab3 "<U004B><U0048><U004D>"
 country_num 116
-country_car   "<U004C><U0041><U004F>"
+country_car "<U004B><U0048>"
 %FIXME
 %country_isbn  ""
 % ភាសាខ្មែរ (Khmer)
diff --git a/localedata/locales/lzh_TW b/localedata/locales/lzh_TW
index d5f7fe3..3c97280 100644
--- a/localedata/locales/lzh_TW
+++ b/localedata/locales/lzh_TW
@@ -233,6 +233,7 @@ country_ab2  "<U0054><U0057>"
 % TWN
 country_ab3  "<U0054><U0057><U004E>"
 country_num  158
+country_car "<U0052><U0043>"
 country_isbn 957
 % 漢語文言
 lang_name    "<U6F22><U8A9E><U6587><U8A00>"
diff --git a/localedata/locales/my_MM b/localedata/locales/my_MM
index 4ed0b6a..942aeb2 100644
--- a/localedata/locales/my_MM
+++ b/localedata/locales/my_MM
@@ -316,8 +316,7 @@ country_name   "<U1019><U103C><U1014><U103A><U1019><U102C>"
 country_post    "<U004D><U0079><U0061><U006E><U006D><U0061><U0072>"
 country_ab2     "<U004D><U004D>"
 country_num 104
-% BA
-country_car  "<U0042><U0041>"
+country_car "<U004D><U0059><U0041>"
 lang_ab         "<U006D><U0079>"
 lang_name       "<U1017><U1019><U102C>"
 % mya
diff --git a/localedata/locales/nan_TW b/localedata/locales/nan_TW
index 283ba3a..d350055 100644
--- a/localedata/locales/nan_TW
+++ b/localedata/locales/nan_TW
@@ -199,6 +199,7 @@ country_ab2  "<U0054><U0057>"
 % TWN
 country_ab3  "<U0054><U0057><U004E>"
 country_num  158
+country_car "<U0052><U0043>"
 country_isbn 957
 % 漢語閩南語
 lang_name    "<U6F22><U8A9E><U95A9><U5357><U8A9E>"
diff --git a/localedata/locales/nan_TW@latin b/localedata/locales/nan_TW@latin
index a56c8dc..1559ab0 100644
--- a/localedata/locales/nan_TW@latin
+++ b/localedata/locales/nan_TW@latin
@@ -195,7 +195,7 @@ country_name "<U0054><U00E2><U0069><U002D><U006F><U00E2><U006E>"
 country_ab2 "<U0054><U0057>"
 country_ab3 "<U0054><U0057><U004E>"
 country_num 158
-%country_car    "FIXME"
+country_car "<U0052><U0043>"
 country_isbn "<U0039><U0035><U0037>"
 %lang_name "Bân-lâm-gú, Hō-ló-oē"
 lang_name "<U0042><U00E2><U006E><U002D><U006C><U00E2><U006D><U002D><U0067><U00FA><U002C><U0020><U0048><U014D><U002D><U006C><U00F3><U002D><U006F><U0113>"
diff --git a/localedata/locales/nl_AW b/localedata/locales/nl_AW
index ee6f8e8..f467260 100644
--- a/localedata/locales/nl_AW
+++ b/localedata/locales/nl_AW
@@ -93,6 +93,7 @@ postal_fmt    "<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
 country_ab2   "<U0041><U0057>"
 country_ab3   "<U0041><U0042><U0057>"
 country_num   533
+country_car "<U0041><U0055><U0041>"
 % Nederlands
 lang_name    "<U004E><U0065><U0064><U0065><U0072><U006C><U0061><U006E><U0064><U0073>"
 lang_ab "<U006E><U006C>"
diff --git a/localedata/locales/oc_FR b/localedata/locales/oc_FR
index 431980a..7261edd 100644
--- a/localedata/locales/oc_FR
+++ b/localedata/locales/oc_FR
@@ -52,7 +52,7 @@ country_ab2 "FR"
 country_ab3 "FRA"
 country_num 250
 country_isbn "2"
-country_car "F"
+country_car "<U0046>"
 % Occitan
 lang_name    "<U004F><U0063><U0063><U0069><U0074><U0061><U006E>"
 % oc
diff --git a/localedata/locales/pap_AW b/localedata/locales/pap_AW
index c954c78..ff72208 100644
--- a/localedata/locales/pap_AW
+++ b/localedata/locales/pap_AW
@@ -58,7 +58,7 @@ country_ab2  "<U0041><U0057>"
 country_ab3  "<U0041><U0042><U0057>"
 country_num  533
 country_isbn ""
-country_car ""
+country_car "<U0041><U0055><U0041>"
 % Papiamento
 lang_name    "<U0050><U0061><U0070><U0069><U0061><U006D><U0065><U006E><U0074><U006F>"
 % lang_ab
diff --git a/localedata/locales/so_DJ b/localedata/locales/so_DJ
index 6596e1d..e805162 100644
--- a/localedata/locales/so_DJ
+++ b/localedata/locales/so_DJ
@@ -126,7 +126,7 @@ country_post  "<U0044><U004A><U0049>"
 country_ab2   "<U0044><U004A>"
 country_ab3   "<U0044><U004A><U0049>"
 country_num   262
-% country_car   unknown
+country_car "<U0044><U004A><U0049>"
 % country_isbn  unknown, Need ISO 2108
 lang_name     "<U0053><U006F><U006F><U006D><U0061><U0061><U006C><U0069>"
 lang_ab       "<U0073><U006F>"
diff --git a/localedata/locales/the_NP b/localedata/locales/the_NP
index d03d263..2c6c5af 100644
--- a/localedata/locales/the_NP
+++ b/localedata/locales/the_NP
@@ -201,6 +201,7 @@ lang_lib     "<U0074><U0068><U0065>"
 country_ab2 "<U004E><U0050>"
 country_ab3 "<U004E><U0050><U004C>"
 country_num 524
+country_car "<U004E><U0045><U0050>"
 END LC_ADDRESS
 
 
diff --git a/localedata/locales/tr_CY b/localedata/locales/tr_CY
index b9c6ca1..1648663 100644
--- a/localedata/locales/tr_CY
+++ b/localedata/locales/tr_CY
@@ -100,8 +100,7 @@ country_name "<U004E><U006F><U0072><U0074><U0068><U0065><U0072><U006E>/
 <U0020><U0043><U0079><U0070><U0072><U0075><U0073>"
 % TR
 country_post "<U0054><U0052>"
-% TR
-country_car "<U0054><U0052>"
+country_car "<U0043><U0059>"
 country_isbn 975
 country_num 196
 country_ab2 "<U0043><U0059>"
diff --git a/localedata/locales/ug_CN b/localedata/locales/ug_CN
index 352ac68..c7431fc 100644
--- a/localedata/locales/ug_CN
+++ b/localedata/locales/ug_CN
@@ -325,7 +325,7 @@ country_name "<U4E2D><U534E><U4EBA><U6C11><U5171><U548C><U56FD>"
 country_ab2 "<U0043><U004E>"
 country_ab3 "<U0043><U0048><U004E>"
 country_num 156
-%country_car "FIXME"
+country_car "<U0043><U0048><U004E>"
 country_isbn "<U0037>"
 % ug
 lang_ab      "<U0075><U0067>"
diff --git a/localedata/locales/wae_CH b/localedata/locales/wae_CH
index 724be7c..5e2fa8b 100644
--- a/localedata/locales/wae_CH
+++ b/localedata/locales/wae_CH
@@ -221,7 +221,7 @@ lang_name "<U0057><U0061><U006C><U0073><U0065><U0072>"
 
 % UN Geneve 1949:68 Distinguishing signs of vehicles in international traffic
 % "CH"
-country_car   "<U0044><U0048>"
+country_car "<U0043><U0048>"
 
 % ISO 639 two and three letter language names
 % see http://www.loc.gov/standards/iso639-2/englangn.html
diff --git a/localedata/locales/yue_HK b/localedata/locales/yue_HK
index 74dbfa2..00d613c 100644
--- a/localedata/locales/yue_HK
+++ b/localedata/locales/yue_HK
@@ -157,6 +157,7 @@ country_name "<U9999><U6E2F>"
 country_ab2 "<U0048><U004B>"
 country_ab3 "<U0048><U004B><U0047>"
 country_num 344
+country_car "<U0048><U004B>"
 country_isbn "<U0039><U0036><U0032>"
 lang_name "<U7CB5><U8A9E>"
 % yue
diff --git a/localedata/locales/zh_CN b/localedata/locales/zh_CN
index e4e42fd..915d9e6 100644
--- a/localedata/locales/zh_CN
+++ b/localedata/locales/zh_CN
@@ -184,7 +184,7 @@ country_name "<U4E2D><U534E><U4EBA><U6C11><U5171><U548C><U56FD>"
 country_ab2 "<U0043><U004E>"
 country_ab3 "<U0043><U0048><U004E>"
 country_num 156
-%country_car "FIXME"
+country_car "<U0043><U0048><U004E>"
 country_isbn "<U0037>"
 lang_name "<U4E2D><U6587>"
 lang_ab "<U007A><U0068>"
diff --git a/localedata/locales/zh_HK b/localedata/locales/zh_HK
index 4099d9d..93f52c2 100644
--- a/localedata/locales/zh_HK
+++ b/localedata/locales/zh_HK
@@ -183,6 +183,7 @@ postal_fmt  "<U0025><U007A><U0025><U0063><U0025><U0054><U0025><U0073>/
 country_ab2 "<U0048><U004B>"
 country_ab3 "<U0048><U004B><U0047>"
 country_num 344
+country_car "<U0048><U004B>"
 lang_ab "<U007A><U0068>"
 lang_term "<U007A><U0068><U006F>"
 lang_lib "<U0063><U0068><U0069>"
diff --git a/localedata/locales/zh_TW b/localedata/locales/zh_TW
index 2797b5e..e2a9e0f 100644
--- a/localedata/locales/zh_TW
+++ b/localedata/locales/zh_TW
@@ -193,7 +193,7 @@ country_name "<U4E2D><U83EF><U6C11><U570B>"
 country_ab2 "<U0054><U0057>"
 country_ab3 "<U0054><U0057><U004E>"
 country_num 158
-%country_car    "FIXME"
+country_car "<U0052><U0043>"
 country_isbn "<U0039><U0035><U0037>"
 
 % Reference: http://lcweb.loc.gov/standards/iso639-2/langhome.html
--
2.7.4

Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] localedata: fix LC_ADDRESS.country_car entries

Florian Weimer-5
On 04/12/2016 09:40 AM, Mike Frysinger wrote:

>    oc_FR:  changing F to F

What's the actual change?

>    tr_CY:  changing TR to CY

This seems potentially politically fraught.  What license plates do cars
use in Northern part of Cyprus?

Florian

Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] localedata: fix LC_ADDRESS.country_car entries

Mike Frysinger
On 12 Apr 2016 10:13, Florian Weimer wrote:
> On 04/12/2016 09:40 AM, Mike Frysinger wrote:
> >    oc_FR:  changing F to F
>
> What's the actual change?

from the diff:
-country_car "F"
+country_car "<U0046>"

> >    tr_CY:  changing TR to CY
>
> This seems potentially politically fraught.  What license plates do cars
> use in Northern part of Cyprus?

no idea, but CLDR+world (-Turkey) only have the territory "Cyprus"
-mike

signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] localedata: fix LC_ADDRESS.country_car entries

Chris Leonard
In reply to this post by Mike Frysinger
It looks like you are routinely removing the human readable comment
before the entry and only leaving the Unicode point.  I'm of the
opinion that it is useful for most of the Unicode-converted fields to
have a human readable comment to lower the barrier to discovery and
improvement of entries.   is there a strong rationale for deleting the
comments?

cjl

On Tue, Apr 12, 2016 at 3:40 AM, Mike Frysinger <[hidden email]> wrote:

> These entries have been checked mostly against Wikipedia, but also using
> the sources it cites (like the UN and other treaty sources).
>
> Fix incorrect values:
>   en_BW:  changing RB to BW
>   kl_GL:  changing GRO to KN
>   km_KH:  changing LAO to KH
>   my_MM:  changing BA to MYA
>   oc_FR:  changing F to F
>   tr_CY:  changing TR to CY
>   wae_CH: changing DH to CH
>
> Add missing entries:
>   aa_DJ:  changing to DJI
>   ak_GH:  changing to GH
>   ar_OM:  changing to OM
>   ar_SS:  changing to SUD
>   ar_YE:  changing to YAR
>   bo_CN:  changing to CHN
>   cmn_TW: changing to RC
>   dv_MV:  changing to MV
>   dz_BT:  changing to BHT
>   en_AG:  changing to AG
>   es_HN:  changing to HN
>   es_PR:  changing to PR
>   hak_TW: changing to RC
>   lzh_TW: changing to RC
>   nan_TW: changing to RC
>   nan_TW@latin: changing to RC
>   nl_AW:  changing to AUA
>   pap_AW: changing to AUA
>   so_DJ:  changing to DJI
>   the_NP: changing to NEP
>   ug_CN:  changing to CHN
>   yue_HK: changing to HK
>   zh_CN:  changing to CHN
>   zh_HK:  changing to HK
>   zh_TW:  changing to RC
> ---
>  localedata/locales/aa_DJ        | 2 +-
>  localedata/locales/ak_GH        | 1 +
>  localedata/locales/ar_OM        | 1 +
>  localedata/locales/ar_SS        | 1 +
>  localedata/locales/ar_YE        | 1 +
>  localedata/locales/bo_CN        | 2 +-
>  localedata/locales/cmn_TW       | 1 +
>  localedata/locales/dv_MV        | 1 +
>  localedata/locales/dz_BT        | 1 +
>  localedata/locales/en_AG        | 1 +
>  localedata/locales/en_BW        | 3 +--
>  localedata/locales/es_HN        | 1 +
>  localedata/locales/es_PR        | 1 +
>  localedata/locales/hak_TW       | 1 +
>  localedata/locales/kl_GL        | 3 +--
>  localedata/locales/km_KH        | 2 +-
>  localedata/locales/lzh_TW       | 1 +
>  localedata/locales/my_MM        | 3 +--
>  localedata/locales/nan_TW       | 1 +
>  localedata/locales/nan_TW@latin | 2 +-
>  localedata/locales/nl_AW        | 1 +
>  localedata/locales/oc_FR        | 2 +-
>  localedata/locales/pap_AW       | 2 +-
>  localedata/locales/so_DJ        | 2 +-
>  localedata/locales/the_NP       | 1 +
>  localedata/locales/tr_CY        | 3 +--
>  localedata/locales/ug_CN        | 2 +-
>  localedata/locales/wae_CH       | 2 +-
>  localedata/locales/yue_HK       | 1 +
>  localedata/locales/zh_CN        | 2 +-
>  localedata/locales/zh_HK        | 1 +
>  localedata/locales/zh_TW        | 2 +-
>  32 files changed, 32 insertions(+), 19 deletions(-)
>
> diff --git a/localedata/locales/aa_DJ b/localedata/locales/aa_DJ
> index 8e2263b..f11b746 100644
> --- a/localedata/locales/aa_DJ
> +++ b/localedata/locales/aa_DJ
> @@ -153,7 +153,7 @@ country_post  "<U0044><U004A><U0049>"
>  country_ab2   "<U0044><U004A>"
>  country_ab3   "<U0044><U004A><U0049>"
>  country_num   262
> -% country_car   unknown
> +country_car "<U0044><U004A><U0049>"
>  % country_isbn  unknown, Need ISO 2108
>  lang_name     "<U0051><U0061><U0066><U0061><U0072>"
>  % aa
> diff --git a/localedata/locales/ak_GH b/localedata/locales/ak_GH
> index a5ede75..c417888 100644
> --- a/localedata/locales/ak_GH
> +++ b/localedata/locales/ak_GH
> @@ -191,6 +191,7 @@ country_ab2  "<U0047><U0048>"
>  % GHA
>  country_ab3  "<U0047><U0048><U0041>"
>  country_num  288
> +country_car "<U0047><U0048>"
>  country_isbn 9964
>  % Akan
>  lang_name    "<U0041><U006B><U0061><U006E>"
> diff --git a/localedata/locales/ar_OM b/localedata/locales/ar_OM
> index 94d15f1..96c573a 100644
> --- a/localedata/locales/ar_OM
> +++ b/localedata/locales/ar_OM
> @@ -184,6 +184,7 @@ postal_fmt  "<U0025><U007A><U0025><U0063><U0025><U0054><U0025><U0073>/
>  country_ab2 "<U004F><U004D>"
>  country_ab3 "<U004F><U004D><U004E>"
>  country_num 512
> +country_car "<U004F><U004D>"
>  lang_name    "<U0627><U0644><U0639><U0631><U0628><U064A><U0629>"
>  % ar
>  lang_ab      "<U0061><U0072>"
> diff --git a/localedata/locales/ar_SS b/localedata/locales/ar_SS
> index 8ce14be..bab3e3b 100644
> --- a/localedata/locales/ar_SS
> +++ b/localedata/locales/ar_SS
> @@ -192,6 +192,7 @@ country_ab2 "<U0053><U0053>"
>  % SSD
>  country_ab3 "<U0053><U0053><U0044>"
>  country_num 728
> +country_car "<U0053><U0055><U0044>"
>  lang_name    "<U0627><U0644><U0639><U0631><U0628><U064A><U0629>"
>  % ar
>  lang_ab      "<U0061><U0072>"
> diff --git a/localedata/locales/ar_YE b/localedata/locales/ar_YE
> index 5b60356..0298e9a 100644
> --- a/localedata/locales/ar_YE
> +++ b/localedata/locales/ar_YE
> @@ -184,6 +184,7 @@ postal_fmt  "<U0025><U007A><U0025><U0063><U0025><U0054><U0025><U0073>/
>  country_ab2 "<U0059><U0045>"
>  country_ab3 "<U0059><U0045><U004D>"
>  country_num 887
> +country_car "<U0059><U0041><U0052>"
>  lang_name    "<U0627><U0644><U0639><U0631><U0628><U064A><U0629>"
>  % ar
>  lang_ab      "<U0061><U0072>"
> diff --git a/localedata/locales/bo_CN b/localedata/locales/bo_CN
> index c45d294..e413930 100644
> --- a/localedata/locales/bo_CN
> +++ b/localedata/locales/bo_CN
> @@ -169,7 +169,7 @@ country_name "<U0F40><U0FB2><U0F74><U0F44><U0F0B><U0F67><U0FAD><U0F0B><U0F58><U0
>  country_ab2    "<U0043><U004E>"
>  country_ab3    "<U0043><U0048><U004E>"
>  country_num    156
> -%country_car   "FIXME"
> +country_car "<U0043><U0048><U004E>"
>  country_isbn   "<U0037>"
>  lang_name     "<U0F54><U0F7C><U0F51><U0F0B><U0F66><U0F90><U0F51><U0F0B>"
>  % bo
> diff --git a/localedata/locales/cmn_TW b/localedata/locales/cmn_TW
> index 77989e0..1d3f2e5 100644
> --- a/localedata/locales/cmn_TW
> +++ b/localedata/locales/cmn_TW
> @@ -199,6 +199,7 @@ country_ab2  "<U0054><U0057>"
>  % TWN
>  country_ab3  "<U0054><U0057><U004E>"
>  country_num  158
> +country_car "<U0052><U0043>"
>  country_isbn 957
>  % 漢語官話
>  lang_name    "<U6F22><U8A9E><U5B98><U8A71>"
> diff --git a/localedata/locales/dv_MV b/localedata/locales/dv_MV
> index 22f68b1..40ce684 100644
> --- a/localedata/locales/dv_MV
> +++ b/localedata/locales/dv_MV
> @@ -182,6 +182,7 @@ postal_fmt    "<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
>  <U004E><U0025><U0025><U007A><U0020><U0025><U0054><U0025>/
>  <U004E><U0025><U0063><U0025><U004E>"
>  country_num 462
> +country_car "<U004D><U0056>"
>  % lang_name FIXME
>  % Cannot represent Dhivehi in Thaana script
>  % http://en.wikipedia.org/wiki/Maldivian_language
> diff --git a/localedata/locales/dz_BT b/localedata/locales/dz_BT
> index 755ae74..678b4bd 100644
> --- a/localedata/locales/dz_BT
> +++ b/localedata/locales/dz_BT
> @@ -664,6 +664,7 @@ country_name "<U0F60><U0F56><U0FB2><U0F74><U0F42><U0F0D>"
>  country_ab2 "<U0042><U0054>"
>  country_ab3 "<U0042><U0054><U004E>"
>  country_num 064
> +country_car "<U0042><U0048><U0054>"
>  %FIXME
>  %country_isbn  ""
>  % རྫོང་ཁ
> diff --git a/localedata/locales/en_AG b/localedata/locales/en_AG
> index 2822838..1834338 100644
> --- a/localedata/locales/en_AG
> +++ b/localedata/locales/en_AG
> @@ -93,6 +93,7 @@ postal_fmt    "<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
>  country_ab2   "<U0041><U0047>"
>  country_ab3   "<U0041><U0054><U0047>"
>  country_num 028
> +country_car "<U0041><U0047>"
>  % English
>  lang_name     "<U0045><U006E><U0067><U006C><U0069><U0073><U0068>"
>  % en
> diff --git a/localedata/locales/en_BW b/localedata/locales/en_BW
> index bc482e0..c67e1ec 100644
> --- a/localedata/locales/en_BW
> +++ b/localedata/locales/en_BW
> @@ -114,8 +114,7 @@ postal_fmt    "<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
>  country_ab2 "<U0042><U0057>"
>  country_ab3 "<U0042><U0057><U0041>"
>  country_num 072
> -% RB
> -country_car    "<U0052><U0042>"
> +country_car "<U0042><U0057>"
>  % English
>  lang_name     "<U0045><U006E><U0067><U006C><U0069><U0073><U0068>"
>  % en
> diff --git a/localedata/locales/es_HN b/localedata/locales/es_HN
> index 487d515..98ee473 100644
> --- a/localedata/locales/es_HN
> +++ b/localedata/locales/es_HN
> @@ -153,6 +153,7 @@ postal_fmt    "<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
>  country_ab2   "<U0048><U004E>"
>  country_ab3   "<U0048><U004E><U0044>"
>  country_num   340
> +country_car "<U0048><U004E>"
>  % es
>  lang_ab      "<U0065><U0073>"
>  % Español
> diff --git a/localedata/locales/es_PR b/localedata/locales/es_PR
> index 8fd51cf..b0b600c 100644
> --- a/localedata/locales/es_PR
> +++ b/localedata/locales/es_PR
> @@ -144,6 +144,7 @@ postal_fmt    "<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
>  country_ab2   "<U0050><U0052>"
>  country_ab3   "<U0050><U0052><U0049>"
>  country_num   630
> +country_car "<U0050><U0052>"
>  % Español
>  lang_name     "<U0045><U0073><U0070><U0061><U00F1><U006F><U006C>"
>  % es
> diff --git a/localedata/locales/hak_TW b/localedata/locales/hak_TW
> index 1b5591e..7d79fad 100644
> --- a/localedata/locales/hak_TW
> +++ b/localedata/locales/hak_TW
> @@ -198,6 +198,7 @@ country_ab2  "<U0054><U0057>"
>  % TWN
>  country_ab3  "<U0054><U0057><U004E>"
>  country_num  158
> +country_car "<U0052><U0043>"
>  country_isbn 957
>  % 漢語客家語
>  lang_name    "<U6F22><U8A9E><U5BA2><U5BB6><U8A9E>"
> diff --git a/localedata/locales/kl_GL b/localedata/locales/kl_GL
> index 4d9972c..29c182b 100644
> --- a/localedata/locales/kl_GL
> +++ b/localedata/locales/kl_GL
> @@ -140,8 +140,7 @@ postal_fmt    "<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
>  country_ab2 "<U0047><U004C>"
>  country_ab3 "<U0047><U0052><U004C>"
>  country_num 304
> -% GRO
> -country_car  "<U0047><U0052><U004F>"
> +country_car "<U004B><U004E>"
>  % Kalaallisut
>  lang_name    "<U004B><U0061><U006C><U0061><U0061><U006C><U006C><U0069><U0073><U0075><U0074>"
>  % kl
> diff --git a/localedata/locales/km_KH b/localedata/locales/km_KH
> index 0baf31f..d21efc0 100644
> --- a/localedata/locales/km_KH
> +++ b/localedata/locales/km_KH
> @@ -1872,7 +1872,7 @@ country_name "<U1780><U1798><U17D2><U1796><U17BB><U1787><U17B6>"
>  country_ab2 "<U004B><U0048>"
>  country_ab3 "<U004B><U0048><U004D>"
>  country_num 116
> -country_car   "<U004C><U0041><U004F>"
> +country_car "<U004B><U0048>"
>  %FIXME
>  %country_isbn  ""
>  % ភាសាខ្មែរ (Khmer)
> diff --git a/localedata/locales/lzh_TW b/localedata/locales/lzh_TW
> index d5f7fe3..3c97280 100644
> --- a/localedata/locales/lzh_TW
> +++ b/localedata/locales/lzh_TW
> @@ -233,6 +233,7 @@ country_ab2  "<U0054><U0057>"
>  % TWN
>  country_ab3  "<U0054><U0057><U004E>"
>  country_num  158
> +country_car "<U0052><U0043>"
>  country_isbn 957
>  % 漢語文言
>  lang_name    "<U6F22><U8A9E><U6587><U8A00>"
> diff --git a/localedata/locales/my_MM b/localedata/locales/my_MM
> index 4ed0b6a..942aeb2 100644
> --- a/localedata/locales/my_MM
> +++ b/localedata/locales/my_MM
> @@ -316,8 +316,7 @@ country_name   "<U1019><U103C><U1014><U103A><U1019><U102C>"
>  country_post    "<U004D><U0079><U0061><U006E><U006D><U0061><U0072>"
>  country_ab2     "<U004D><U004D>"
>  country_num 104
> -% BA
> -country_car  "<U0042><U0041>"
> +country_car "<U004D><U0059><U0041>"
>  lang_ab         "<U006D><U0079>"
>  lang_name       "<U1017><U1019><U102C>"
>  % mya
> diff --git a/localedata/locales/nan_TW b/localedata/locales/nan_TW
> index 283ba3a..d350055 100644
> --- a/localedata/locales/nan_TW
> +++ b/localedata/locales/nan_TW
> @@ -199,6 +199,7 @@ country_ab2  "<U0054><U0057>"
>  % TWN
>  country_ab3  "<U0054><U0057><U004E>"
>  country_num  158
> +country_car "<U0052><U0043>"
>  country_isbn 957
>  % 漢語閩南語
>  lang_name    "<U6F22><U8A9E><U95A9><U5357><U8A9E>"
> diff --git a/localedata/locales/nan_TW@latin b/localedata/locales/nan_TW@latin
> index a56c8dc..1559ab0 100644
> --- a/localedata/locales/nan_TW@latin
> +++ b/localedata/locales/nan_TW@latin
> @@ -195,7 +195,7 @@ country_name        "<U0054><U00E2><U0069><U002D><U006F><U00E2><U006E>"
>  country_ab2    "<U0054><U0057>"
>  country_ab3    "<U0054><U0057><U004E>"
>  country_num    158
> -%country_car    "FIXME"
> +country_car "<U0052><U0043>"
>  country_isbn   "<U0039><U0035><U0037>"
>  %lang_name "Bân-lâm-gú, Hō-ló-oē"
>  lang_name "<U0042><U00E2><U006E><U002D><U006C><U00E2><U006D><U002D><U0067><U00FA><U002C><U0020><U0048><U014D><U002D><U006C><U00F3><U002D><U006F><U0113>"
> diff --git a/localedata/locales/nl_AW b/localedata/locales/nl_AW
> index ee6f8e8..f467260 100644
> --- a/localedata/locales/nl_AW
> +++ b/localedata/locales/nl_AW
> @@ -93,6 +93,7 @@ postal_fmt    "<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
>  country_ab2   "<U0041><U0057>"
>  country_ab3   "<U0041><U0042><U0057>"
>  country_num   533
> +country_car "<U0041><U0055><U0041>"
>  % Nederlands
>  lang_name    "<U004E><U0065><U0064><U0065><U0072><U006C><U0061><U006E><U0064><U0073>"
>  lang_ab "<U006E><U006C>"
> diff --git a/localedata/locales/oc_FR b/localedata/locales/oc_FR
> index 431980a..7261edd 100644
> --- a/localedata/locales/oc_FR
> +++ b/localedata/locales/oc_FR
> @@ -52,7 +52,7 @@ country_ab2 "FR"
>  country_ab3 "FRA"
>  country_num 250
>  country_isbn "2"
> -country_car "F"
> +country_car "<U0046>"
>  % Occitan
>  lang_name    "<U004F><U0063><U0063><U0069><U0074><U0061><U006E>"
>  % oc
> diff --git a/localedata/locales/pap_AW b/localedata/locales/pap_AW
> index c954c78..ff72208 100644
> --- a/localedata/locales/pap_AW
> +++ b/localedata/locales/pap_AW
> @@ -58,7 +58,7 @@ country_ab2  "<U0041><U0057>"
>  country_ab3  "<U0041><U0042><U0057>"
>  country_num  533
>  country_isbn ""
> -country_car ""
> +country_car "<U0041><U0055><U0041>"
>  % Papiamento
>  lang_name    "<U0050><U0061><U0070><U0069><U0061><U006D><U0065><U006E><U0074><U006F>"
>  % lang_ab
> diff --git a/localedata/locales/so_DJ b/localedata/locales/so_DJ
> index 6596e1d..e805162 100644
> --- a/localedata/locales/so_DJ
> +++ b/localedata/locales/so_DJ
> @@ -126,7 +126,7 @@ country_post  "<U0044><U004A><U0049>"
>  country_ab2   "<U0044><U004A>"
>  country_ab3   "<U0044><U004A><U0049>"
>  country_num   262
> -% country_car   unknown
> +country_car "<U0044><U004A><U0049>"
>  % country_isbn  unknown, Need ISO 2108
>  lang_name     "<U0053><U006F><U006F><U006D><U0061><U0061><U006C><U0069>"
>  lang_ab       "<U0073><U006F>"
> diff --git a/localedata/locales/the_NP b/localedata/locales/the_NP
> index d03d263..2c6c5af 100644
> --- a/localedata/locales/the_NP
> +++ b/localedata/locales/the_NP
> @@ -201,6 +201,7 @@ lang_lib     "<U0074><U0068><U0065>"
>  country_ab2 "<U004E><U0050>"
>  country_ab3 "<U004E><U0050><U004C>"
>  country_num 524
> +country_car "<U004E><U0045><U0050>"
>  END LC_ADDRESS
>
>
> diff --git a/localedata/locales/tr_CY b/localedata/locales/tr_CY
> index b9c6ca1..1648663 100644
> --- a/localedata/locales/tr_CY
> +++ b/localedata/locales/tr_CY
> @@ -100,8 +100,7 @@ country_name        "<U004E><U006F><U0072><U0074><U0068><U0065><U0072><U006E>/
>  <U0020><U0043><U0079><U0070><U0072><U0075><U0073>"
>  % TR
>  country_post   "<U0054><U0052>"
> -% TR
> -country_car    "<U0054><U0052>"
> +country_car "<U0043><U0059>"
>  country_isbn   975
>  country_num 196
>  country_ab2 "<U0043><U0059>"
> diff --git a/localedata/locales/ug_CN b/localedata/locales/ug_CN
> index 352ac68..c7431fc 100644
> --- a/localedata/locales/ug_CN
> +++ b/localedata/locales/ug_CN
> @@ -325,7 +325,7 @@ country_name        "<U4E2D><U534E><U4EBA><U6C11><U5171><U548C><U56FD>"
>  country_ab2    "<U0043><U004E>"
>  country_ab3    "<U0043><U0048><U004E>"
>  country_num    156
> -%country_car   "FIXME"
> +country_car "<U0043><U0048><U004E>"
>  country_isbn   "<U0037>"
>  % ug
>  lang_ab      "<U0075><U0067>"
> diff --git a/localedata/locales/wae_CH b/localedata/locales/wae_CH
> index 724be7c..5e2fa8b 100644
> --- a/localedata/locales/wae_CH
> +++ b/localedata/locales/wae_CH
> @@ -221,7 +221,7 @@ lang_name "<U0057><U0061><U006C><U0073><U0065><U0072>"
>
>  % UN Geneve 1949:68 Distinguishing signs of vehicles in international traffic
>  % "CH"
> -country_car   "<U0044><U0048>"
> +country_car "<U0043><U0048>"
>
>  % ISO 639 two and three letter language names
>  % see http://www.loc.gov/standards/iso639-2/englangn.html
> diff --git a/localedata/locales/yue_HK b/localedata/locales/yue_HK
> index 74dbfa2..00d613c 100644
> --- a/localedata/locales/yue_HK
> +++ b/localedata/locales/yue_HK
> @@ -157,6 +157,7 @@ country_name "<U9999><U6E2F>"
>  country_ab2 "<U0048><U004B>"
>  country_ab3 "<U0048><U004B><U0047>"
>  country_num 344
> +country_car "<U0048><U004B>"
>  country_isbn "<U0039><U0036><U0032>"
>  lang_name "<U7CB5><U8A9E>"
>  % yue
> diff --git a/localedata/locales/zh_CN b/localedata/locales/zh_CN
> index e4e42fd..915d9e6 100644
> --- a/localedata/locales/zh_CN
> +++ b/localedata/locales/zh_CN
> @@ -184,7 +184,7 @@ country_name        "<U4E2D><U534E><U4EBA><U6C11><U5171><U548C><U56FD>"
>  country_ab2    "<U0043><U004E>"
>  country_ab3    "<U0043><U0048><U004E>"
>  country_num    156
> -%country_car   "FIXME"
> +country_car "<U0043><U0048><U004E>"
>  country_isbn   "<U0037>"
>  lang_name      "<U4E2D><U6587>"
>  lang_ab                "<U007A><U0068>"
> diff --git a/localedata/locales/zh_HK b/localedata/locales/zh_HK
> index 4099d9d..93f52c2 100644
> --- a/localedata/locales/zh_HK
> +++ b/localedata/locales/zh_HK
> @@ -183,6 +183,7 @@ postal_fmt  "<U0025><U007A><U0025><U0063><U0025><U0054><U0025><U0073>/
>  country_ab2 "<U0048><U004B>"
>  country_ab3 "<U0048><U004B><U0047>"
>  country_num 344
> +country_car "<U0048><U004B>"
>  lang_ab                "<U007A><U0068>"
>  lang_term      "<U007A><U0068><U006F>"
>  lang_lib       "<U0063><U0068><U0069>"
> diff --git a/localedata/locales/zh_TW b/localedata/locales/zh_TW
> index 2797b5e..e2a9e0f 100644
> --- a/localedata/locales/zh_TW
> +++ b/localedata/locales/zh_TW
> @@ -193,7 +193,7 @@ country_name        "<U4E2D><U83EF><U6C11><U570B>"
>  country_ab2    "<U0054><U0057>"
>  country_ab3    "<U0054><U0057><U004E>"
>  country_num    158
> -%country_car    "FIXME"
> +country_car "<U0052><U0043>"
>  country_isbn   "<U0039><U0035><U0037>"
>
>  % Reference:   http://lcweb.loc.gov/standards/iso639-2/langhome.html
> --
> 2.7.4
>
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] localedata: fix LC_ADDRESS.country_car entries

Mike Frysinger
On 12 Apr 2016 10:33, Chris Leonard wrote:
> It looks like you are routinely removing the human readable comment
> before the entry and only leaving the Unicode point.  I'm of the
> opinion that it is useful for most of the Unicode-converted fields to
> have a human readable comment to lower the barrier to discovery and
> improvement of entries.   is there a strong rationale for deleting the
> comments?

the readable comments are out of date when i make changes, and i've
seen some cases (independent of my changes) where they're out of date.
i'd rather push for better tooling and get people used to that than
rely on possibly stale comments.  the other option is where the files
are just always encoded in UTF-8 as discussed in an older thread and
then there's no need for comments at all.
-mike

signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] localedata: fix LC_ADDRESS.country_car entries

Mike Frysinger
In reply to this post by Mike Frysinger
On 12 Apr 2016 04:17, Mike Frysinger wrote:
> On 12 Apr 2016 10:13, Florian Weimer wrote:
> > On 04/12/2016 09:40 AM, Mike Frysinger wrote:
> > >    tr_CY:  changing TR to CY
> >
> > This seems potentially politically fraught.  What license plates do cars
> > use in Northern part of Cyprus?
>
> no idea, but CLDR+world (-Turkey) only have the territory "Cyprus"

i'd rather not have glibc be the arbiter in ugly political quagmires
like this because it'll be a huge time sink and we'll never please
everyone.

CLDR defines tr_CY as "the Turkish language in Cyprus".  as there are
people who speak Turkish in all of Cyprus, trying to repurpose tr_CY to
mean something other than Cyprus (Northern Cyprus in this case) means
the Turkish speakers not in Northern Cyprus no longer have a locale that
applies to them.  if the self-declared Northern Cyprus want locales that
apply to their territory, then they can push for it in various bodies to
get a new territory created.  then creating locales for them (e.g. if it
were NCY, then we'd have en_NCY, el_NCY, and tr_NCY) is straightforward.
-mike

signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] localedata: fix LC_ADDRESS.country_car entries

Mike Frysinger
In reply to this post by Florian Weimer-5
On 12 Apr 2016 10:13, Florian Weimer wrote:
> On 04/12/2016 09:40 AM, Mike Frysinger wrote:
> >    tr_CY:  changing TR to CY
>
> This seems potentially politically fraught.  What license plates do cars
> use in Northern part of Cyprus?

did my explanation make sense ?
-mike

signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] localedata: fix LC_ADDRESS.country_car entries

Florian Weimer-5
On 04/14/2016 01:29 AM, Mike Frysinger wrote:
> On 12 Apr 2016 10:13, Florian Weimer wrote:
>> On 04/12/2016 09:40 AM, Mike Frysinger wrote:
>>>     tr_CY:  changing TR to CY
>>
>> This seems potentially politically fraught.  What license plates do cars
>> use in Northern part of Cyprus?
>
> did my explanation make sense ?

Yes, it does.  I looked at the other changes summarized at the top of
your message, and I they seem correct (either typo/C&P fixes, or
consistent with publicly available information, although some of it is
contradictory).

Florian
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] localedata: fix LC_ADDRESS.country_car entries

Mike Frysinger
On 14 Apr 2016 10:19, Florian Weimer wrote:

> On 04/14/2016 01:29 AM, Mike Frysinger wrote:
> > On 12 Apr 2016 10:13, Florian Weimer wrote:
> >> On 04/12/2016 09:40 AM, Mike Frysinger wrote:
> >>>     tr_CY:  changing TR to CY
> >>
> >> This seems potentially politically fraught.  What license plates do cars
> >> use in Northern part of Cyprus?
> >
> > did my explanation make sense ?
>
> Yes, it does.  I looked at the other changes summarized at the top of
> your message, and I they seem correct (either typo/C&P fixes, or
> consistent with publicly available information, although some of it is
> contradictory).
agreed that the data sources don't appear to be great.  the cited UN
specs are out of date in a number of ways, and i can't seem to find
any more recent ones.  as such, i generally deferred to wikipedia (as
sad as that sounds :D).

i'll try to put together a def file for locale/ similar to other def
files that way we have a standalone data store.  if someone can find
us a better place, would be easy to update+regen.
-mike

signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] localedata: fix LC_ADDRESS.country_car entries

Carlos O'Donell-6
In reply to this post by Mike Frysinger
On 04/12/2016 11:44 AM, Mike Frysinger wrote:

> On 12 Apr 2016 10:33, Chris Leonard wrote:
>> It looks like you are routinely removing the human readable comment
>> before the entry and only leaving the Unicode point.  I'm of the
>> opinion that it is useful for most of the Unicode-converted fields to
>> have a human readable comment to lower the barrier to discovery and
>> improvement of entries.   is there a strong rationale for deleting the
>> comments?
>
> the readable comments are out of date when i make changes, and i've
> seen some cases (independent of my changes) where they're out of date.
> i'd rather push for better tooling and get people used to that than
> rely on possibly stale comments.  the other option is where the files
> are just always encoded in UTF-8 as discussed in an older thread and
> then there's no need for comments at all.

Right, if we get consensus to just use UTF-8 (I can't remember if there
some objections last time) then we can do that.

Comments get out of date and that's dangerous here.

--
Cheers,
Carlos.
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] localedata: fix LC_ADDRESS.country_car entries

Keld Simonsen-2
On Fri, Apr 15, 2016 at 12:47:28AM -0400, Carlos O'Donell wrote:

> On 04/12/2016 11:44 AM, Mike Frysinger wrote:
> > On 12 Apr 2016 10:33, Chris Leonard wrote:
> >> It looks like you are routinely removing the human readable comment
> >> before the entry and only leaving the Unicode point.  I'm of the
> >> opinion that it is useful for most of the Unicode-converted fields to
> >> have a human readable comment to lower the barrier to discovery and
> >> improvement of entries.   is there a strong rationale for deleting the
> >> comments?
> >
> > the readable comments are out of date when i make changes, and i've
> > seen some cases (independent of my changes) where they're out of date.
> > i'd rather push for better tooling and get people used to that than
> > rely on possibly stale comments.  the other option is where the files
> > are just always encoded in UTF-8 as discussed in an older thread and
> > then there's no need for comments at all.
>
> Right, if we get consensus to just use UTF-8 (I can't remember if there
> some objections last time) then we can do that.

Well, I think we should still use ASCII for portability. I belive Unicode does
the same for their data.

Best regards
keld
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] localedata: fix LC_ADDRESS.country_car entries

Mike Frysinger
On 15 Apr 2016 12:13, [hidden email] wrote:

> On Fri, Apr 15, 2016 at 12:47:28AM -0400, Carlos O'Donell wrote:
> > On 04/12/2016 11:44 AM, Mike Frysinger wrote:
> > > On 12 Apr 2016 10:33, Chris Leonard wrote:
> > >> It looks like you are routinely removing the human readable comment
> > >> before the entry and only leaving the Unicode point.  I'm of the
> > >> opinion that it is useful for most of the Unicode-converted fields to
> > >> have a human readable comment to lower the barrier to discovery and
> > >> improvement of entries.   is there a strong rationale for deleting the
> > >> comments?
> > >
> > > the readable comments are out of date when i make changes, and i've
> > > seen some cases (independent of my changes) where they're out of date.
> > > i'd rather push for better tooling and get people used to that than
> > > rely on possibly stale comments.  the other option is where the files
> > > are just always encoded in UTF-8 as discussed in an older thread and
> > > then there's no need for comments at all.
> >
> > Right, if we get consensus to just use UTF-8 (I can't remember if there
> > some objections last time) then we can do that.
>
> Well, I think we should still use ASCII for portability. I belive Unicode does
> the same for their data.
CLDR does not -- it is entirely & gratuitously UTF-8 encoded

the Unicode standard (i.e. UCD.zip & Unihan.zip) are mostly in ASCII, but
that's because they're describing the codepoints themselves.  a few of the
files in there do use UTF-8 when it makes sense.
-mike

signature.asc (836 bytes) Download Attachment