[v2] localedata: CLDRv28: update LC_TELEPHONE.int_prefix
Commit Message
This includes updates to more locales now that my python parsing logic
is able to dive into "copy" files and properly detect missing keys.
That is to say, after this change, all locales in glibc have int_prefix
both set and to the correct value :).
This updates a bunch of locales based on CLDR v28 data:
ar_SS: int_prefix: changing 249 to 211
bn_BD: int_prefix: changing 88 to 880
dz_BT: int_prefix: changing 66 to 975
en_HK: int_prefix: changing to 852
en_PH: int_prefix: changing to 63
en_SG: int_prefix: changing to 65
es_DO: int_prefix: changing 1809 to 1
es_PA: int_prefix: changing 502 to 507
es_PR: int_prefix: changing 1787 to 1
km_KH: int_prefix: changing 856 to 855
mt_MT: int_prefix: changing to 356
ne_NP: int_prefix: changing 91 to 977
pap_AW: int_prefix: changing 599 to 297
the_NP: int_prefix: changing 91 to 977
tk_TM: int_prefix: changing to 993
uz_UZ: int_prefix: changing 27 to 998
zh_SG: int_prefix: changing to 65
I've also checked these against https://countrycode.org/.
Note: the Dominican Republic (DO) and Puerto Rico (PR) updates are
correct: they both use +1. Historically, DO had one area code of
809 and PR of 787 which is why they were listed as such, but they
have both expanded into 829 and 989 respectively, so using the four
digit value is def incorrect now.
---
localedata/locales/ar_SS | 2 +-
localedata/locales/bn_BD | 2 +-
localedata/locales/dz_BT | 2 +-
localedata/locales/en_HK | 2 +-
localedata/locales/en_PH | 2 +-
localedata/locales/en_SG | 2 +-
localedata/locales/es_DO | 2 +-
localedata/locales/es_PA | 2 +-
localedata/locales/es_PR | 2 +-
localedata/locales/km_KH | 2 +-
localedata/locales/mt_MT | 2 +-
localedata/locales/ne_NP | 2 +-
localedata/locales/pap_AW | 3 +--
localedata/locales/the_NP | 2 +-
localedata/locales/tk_TM | 1 +
localedata/locales/uz_UZ | 2 +-
localedata/locales/uz_UZ@cyrillic | 2 +-
localedata/locales/zh_SG | 2 +-
18 files changed, 18 insertions(+), 18 deletions(-)
Comments
On 02/19/2016 01:40 AM, Mike Frysinger wrote:
> This includes updates to more locales now that my python parsing logic
> is able to dive into "copy" files and properly detect missing keys.
> That is to say, after this change, all locales in glibc have int_prefix
> both set and to the correct value :).
>
> This updates a bunch of locales based on CLDR v28 data:
> ar_SS: int_prefix: changing 249 to 211
> bn_BD: int_prefix: changing 88 to 880
> dz_BT: int_prefix: changing 66 to 975
> en_HK: int_prefix: changing to 852
> en_PH: int_prefix: changing to 63
> en_SG: int_prefix: changing to 65
> es_DO: int_prefix: changing 1809 to 1
> es_PA: int_prefix: changing 502 to 507
> es_PR: int_prefix: changing 1787 to 1
> km_KH: int_prefix: changing 856 to 855
> mt_MT: int_prefix: changing to 356
> ne_NP: int_prefix: changing 91 to 977
> pap_AW: int_prefix: changing 599 to 297
> the_NP: int_prefix: changing 91 to 977
> tk_TM: int_prefix: changing to 993
> uz_UZ: int_prefix: changing 27 to 998
> zh_SG: int_prefix: changing to 65
>
> I've also checked these against https://countrycode.org/.
>
> Note: the Dominican Republic (DO) and Puerto Rico (PR) updates are
> correct: they both use +1. Historically, DO had one area code of
> 809 and PR of 787 which is why they were listed as such, but they
> have both expanded into 829 and 989 respectively, so using the four
> digit value is def incorrect now.
> ---
> localedata/locales/ar_SS | 2 +-
> localedata/locales/bn_BD | 2 +-
> localedata/locales/dz_BT | 2 +-
> localedata/locales/en_HK | 2 +-
> localedata/locales/en_PH | 2 +-
> localedata/locales/en_SG | 2 +-
> localedata/locales/es_DO | 2 +-
> localedata/locales/es_PA | 2 +-
> localedata/locales/es_PR | 2 +-
> localedata/locales/km_KH | 2 +-
> localedata/locales/mt_MT | 2 +-
> localedata/locales/ne_NP | 2 +-
> localedata/locales/pap_AW | 3 +--
> localedata/locales/the_NP | 2 +-
> localedata/locales/tk_TM | 1 +
> localedata/locales/uz_UZ | 2 +-
> localedata/locales/uz_UZ@cyrillic | 2 +-
> localedata/locales/zh_SG | 2 +-
> 18 files changed, 18 insertions(+), 18 deletions(-)
LGTM.
c.
@@ -216,7 +216,7 @@ LC_TELEPHONE
%
tel_int_fmt "<U002B><U0025><U0063><U0020><U003B><U0025><U0061><U0020>/
<U003B><U0025><U006C>"
-int_prefix "<U0032><U0034><U0039>"
+int_prefix "<U0032><U0031><U0031>"
END LC_TELEPHONE
@@ -159,7 +159,7 @@ LC_TELEPHONE
tel_int_fmt "<U002B><U0025><U0063><U0020><U0025><U0061><U0020><U0025><U006C>"
tel_dom_fmt "<U0025><U0061><U0020><U0025><U006C>"
int_select "<U0030><U0030>"
-int_prefix "<U0038><U0038>"
+int_prefix "<U0038><U0038><U0030>"
END LC_TELEPHONE
LC_NAME
@@ -623,7 +623,7 @@ LC_TELEPHONE
tel_int_fmt "<U002B><U0025><U0063><U0020><U0025><U0061><U0020><U0025><U006C>"
% tel_dom_fmt "<U0030><U002D><U0025><U0061><U0025><U006C>"
% int_select "<U0030><U0030><U0031>"
-% int_prefix "<U0036><U0036>"
+int_prefix "<U0039><U0037><U0035>"
END LC_TELEPHONE
LC_PAPER
@@ -213,7 +213,7 @@ LC_TELEPHONE
% This is the ISO_IEC TR14652 Locale definition for the LC_TELEPHONE
% generated by IBM Basic CountryPack Transformer.
tel_int_fmt "<U002B><U0025><U0063><U0020><U003B><U0025><U0061><U0020><U003B><U0025><U006C>"
-
+int_prefix "<U0038><U0035><U0032>"
END LC_TELEPHONE
@@ -209,7 +209,7 @@ LC_TELEPHONE
% This is the ISO_IEC TR14652 Locale definition for the LC_TELEPHONE
% generated by IBM Basic CountryPack Transformer.
tel_int_fmt "<U002B><U0025><U0063><U0020><U003B><U0025><U0061><U0020><U003B><U0025><U006C>"
-
+int_prefix "<U0036><U0033>"
END LC_TELEPHONE
@@ -212,7 +212,7 @@ LC_TELEPHONE
% This is the ISO_IEC TR14652 Locale definition for the LC_TELEPHONE
% generated by IBM Basic CountryPack Transformer.
tel_int_fmt "<U002B><U0025><U0063><U0020><U003B><U0025><U0061><U0020><U003B><U0025><U006C>"
-
+int_prefix "<U0036><U0035>"
END LC_TELEPHONE
@@ -132,7 +132,7 @@ END LC_PAPER
LC_TELEPHONE
tel_int_fmt "<U002B><U0025><U0063><U0020><U0025><U0061><U0020><U0025>/
<U006C>"
-int_prefix "<U0031><U0038><U0030><U0039>"
+int_prefix "<U0031>"
int_select "<U0030><U0031><U0031>"
END LC_TELEPHONE
@@ -130,7 +130,7 @@ END LC_PAPER
LC_TELEPHONE
tel_int_fmt "<U002B><U0025><U0063><U0020><U0025><U0061><U0020><U0025>/
<U006C>"
-int_prefix "<U0035><U0030><U0032>"
+int_prefix "<U0035><U0030><U0037>"
END LC_TELEPHONE
LC_MEASUREMENT
@@ -122,7 +122,7 @@ END LC_PAPER
LC_TELEPHONE
tel_int_fmt "<U002B><U0025><U0063><U0020><U0025><U0061><U0020><U0025>/
<U006C>"
-int_prefix "<U0031><U0037><U0038><U0037>"
+int_prefix "<U0031>"
END LC_TELEPHONE
LC_MEASUREMENT
@@ -1863,7 +1863,7 @@ tel_int_fmt "<U002B><U0025><U0063><U0020><U0025><U0061><U0020><U0025>/
<U006C>"
tel_dom_fmt "<U0028><U0025><U0041><U0029><U0025><U006C>"
int_select "<U0030><U0030><U0031>"
-int_prefix "<U0038><U0035><U0036>"
+int_prefix "<U0038><U0035><U0035>"
END LC_TELEPHONE
LC_MEASUREMENT
@@ -308,7 +308,7 @@ LC_TELEPHONE
% generated by IBM Basic CountryPack Transformer.
tel_int_fmt "<U002B><U0025><U0063><U0020><U003B><U0025><U0061><U0020>/
<U003B><U0025><U006C>"
-
+int_prefix "<U0033><U0035><U0036>"
END LC_TELEPHONE
@@ -213,7 +213,7 @@ LC_TELEPHONE
%
tel_int_fmt "<U002B><U0025><U0063><U0020><U003B><U0025><U0061><U0020>/
<U003B><U0025><U006C>"
-int_prefix "<U0039><U0031>"
+int_prefix "<U0039><U0037><U0037>"
END LC_TELEPHONE
@@ -158,8 +158,7 @@ tel_int_fmt "<U002B><U0025><U0063><U0020><U0025><U0061><U0020><U0025><U006C>"
% FIXME FIND tel_dom_fmt
% 00
int_select "<U0030><U0030>"
-% 599
-int_prefix "<U0035><U0039><U0039>"
+int_prefix "<U0032><U0039><U0037>"
END LC_TELEPHONE
LC_NAME
@@ -217,7 +217,7 @@ LC_TELEPHONE
%
tel_int_fmt "<U002B><U0025><U0063><U0020><U003B><U0025><U0061><U0020>/
<U003B><U0025><U006C>"
-int_prefix "<U0039><U0031>"
+int_prefix "<U0039><U0037><U0037>"
END LC_TELEPHONE
@@ -458,4 +458,5 @@ END LC_ADDRESS
LC_TELEPHONE
% TODO: complete me
tel_int_fmt "<U002B><U0025><U0063><U0020><U0025><U0061><U0020><U0025><U006C>"
+int_prefix "<U0039><U0039><U0033>"
END LC_TELEPHONE
@@ -279,7 +279,7 @@ LC_TELEPHONE
% FIXME: todo
tel_int_fmt "<U002B><U0025><U0063><U0020><U0025><U0061><U0020><U0025>/
<U006C>"
-int_prefix "<U0032><U0037>"
+int_prefix "<U0039><U0039><U0038>"
END LC_TELEPHONE
LC_MEASUREMENT
@@ -280,7 +280,7 @@ END LC_PAPER
LC_TELEPHONE
tel_int_fmt "<U002B><U0025><U0063><U0020><U0025><U0061><U0020><U0025>/
<U006C>"
-int_prefix "<U0032><U0037>"
+int_prefix "<U0039><U0039><U0038>"
END LC_TELEPHONE
LC_MEASUREMENT
@@ -206,7 +206,7 @@ LC_TELEPHONE
% This is the ISO_IEC TR14652 Locale definition for the LC_TELEPHONE
% generated by IBM Basic CountryPack Transformer.
tel_int_fmt "<U002B><U0025><U0063><U0020><U003B><U0025><U0061><U0020><U003B><U0025><U006C>"
-
+int_prefix "<U0036><U0035>"
END LC_TELEPHONE