Message ID | 1504840130-42253-1-git-send-email-akhilesh.k@samsung.com |
---|---|
State | Superseded |
Delegated to: | Mike Fabian |
Headers |
Received: (qmail 9029 invoked by alias); 8 Sep 2017 03:14:56 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: <libc-alpha.sourceware.org> List-Unsubscribe: <mailto:libc-alpha-unsubscribe-##L=##H@sourceware.org> List-Subscribe: <mailto:libc-alpha-subscribe@sourceware.org> List-Archive: <http://sourceware.org/ml/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-help@sourceware.org>, <http://sourceware.org/ml/#faqs> Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 9019 invoked by uid 89); 8 Sep 2017 03:14:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.8 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RP_MATCHES_RCVD, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-spam-relays-external:ESMTPA X-HELO: mailout4.samsung.com From: Akhilesh Kumar <akhilesh.k@samsung.com> To: libc-alpha@sourceware.org Cc: Akhilesh Kumar <akhilesh.k@samsung.com> Subject: [PATCH 1/1] Fix LC_TELEPHONE/LC_NAME for az_AZ Date: Fri, 8 Sep 2017 08:38:50 +0530 Message-Id: <1504840130-42253-1-git-send-email-akhilesh.k@samsung.com> X-CMS-MailID: 20170908031447epcas5p27b814aefdb0e420f82505228aa129270 X-Msg-Generator: CA X-Sender-IP: 182.195.40.13 X-Local-Sender: =?UTF-8?B?QUtISUxFU0ggS1VNQVIbU1JJLURlbGhpLVBsYXRmb3JtIFMv?= =?UTF-8?B?VyAxIFRlYW0b7IK87ISx7KCE7J6QG0NoaWVmIEVuZ2luZWVy?= X-Global-Sender: =?UTF-8?B?QUtISUxFU0ggS1VNQVIbU1JJLURlbGhpLVBsYXRmb3JtIFMv?= =?UTF-8?B?VyAxIFRlYW0bU2Ftc3VuZ8KgRWxlY3Ryb25pY3MbQ2hpZWYgRW5naW5lZXI=?= X-Sender-Code: =?UTF-8?B?QzEwG1NXQUhRG0MxMElEMDJJRDAyODExNQ==?= Content-Type: text/plain; charset="utf-8" X-MTR: 20170908031447epcas5p27b814aefdb0e420f82505228aa129270 CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20170908031447epcas5p27b814aefdb0e420f82505228aa129270 X-RootMTR: 20170908031447epcas5p27b814aefdb0e420f82505228aa129270 References: <CGME20170908031447epcas5p27b814aefdb0e420f82505228aa129270@epcas5p2.samsung.com> |
Commit Message
Akhilesh Kumar
Sept. 8, 2017, 3:08 a.m. UTC
Fix LC_TELEPHONE/LC_NAME for az_AZ [BZ #22112] *locales/az_AZ(LC_TELEPHONE) : Fix int_select *locales/az_AZ(LC_TELEPHONE) : add tel_int_fmt *locales/az_AZ(LC_NAME): copy "az_IR" --- localedata/locales/az_AZ | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-)
Comments
Akhilesh Kumar <akhilesh.k@samsung.com> wrote: > Fix LC_TELEPHONE/LC_NAME for az_AZ > > [BZ #22112] > *locales/az_AZ(LC_TELEPHONE) : Fix int_select > *locales/az_AZ(LC_TELEPHONE) : add tel_int_fmt > *locales/az_AZ(LC_NAME): copy "az_IR" > --- > localedata/locales/az_AZ | 10 ++++------ > 1 files changed, 4 insertions(+), 6 deletions(-) > > diff --git a/localedata/locales/az_AZ b/localedata/locales/az_AZ > index 28de66d..7a17bb5 100644 > --- a/localedata/locales/az_AZ > +++ b/localedata/locales/az_AZ > @@ -311,13 +311,11 @@ lang_lib "<U0061><U007A><U0065>" > END LC_ADDRESS > > LC_TELEPHONE > -% FIXME > -tel_int_fmt "???" > -int_prefix "<U0039><U0039><U0034>" > -int_select "<U0038><U007E><U0031><U0030>" > +tel_int_fmt "+%c %l" Shouldn’t this be "+%c %a %l"? https://www.howtocallabroad.com/results.php?callfrom=azerbaijan&callto=azerbaijan has an additional 0 as a prefix before the area codes. And https://www.howtocallabroad.com/results.php?callfrom=germany&callto=azerbaijan omits that 0. From man 5 locale: tel_int_fmt followed by a string that contains field descriptors that identify the format used to dial international numbers. The following field descriptors are recognized: %a Area code without nationwide prefix (the prefix is often "00"). %A Area code including nationwide prefix. %l Local number (within area code). So this makes me think that "+%c %a %l" is correct. By the way, in it_IT we have: tel_int_fmt "+%c %a %l" but when calling to Italy for example from Germany, the prefix 0 before the area code is *not* omitted: https://www.howtocallabroad.com/results.php?callfrom=germany&callto=italy So I wonder whether it_IT should have tel_int_fmt "+%c %A %l" instead ... > +int_prefix "994" > +int_select "00" > END LC_TELEPHONE > > LC_NAME > -% FIXME > -name_fmt "???" > +copy "az_IR" > END LC_NAME az_AZ seems to use Latin script: % Azeri Language Locale for Azerbaijan (latin) If you look at LC_TIME, you see that Latin script is used for the day and month names. But az_IR uses Arabic script. And LC_NAME in az_IR looks like: LC_NAME name_gen "" % Xanim: name_miss "خانیم" name_ms "خانیم" name_mrs "خانیم" % Agha name_mr "آغا" name_fmt "%d%t%s%t%g%t%m%t%f" END LC_NAME So I don’t think this “copy "az_IR"” in LC_NAME is correct.
>> >> LC_TELEPHONE >> -% FIXME >> -tel_int_fmt "???" >> -int_prefix "<U0039><U0039><U0034>" >> -int_select "<U0038><U007E><U0031><U0030>" >> +tel_int_fmt "+%c %l" > >Shouldn’t this be "+%c %a %l"? Agree please find updated patch https://sourceware.org/ml/libc-alpha/2017-09/msg00584.html >https://www.howtocallabroad.com/results.php?callfrom=azerbaijan&callto=azerbaijan > >has an additional 0 as a prefix before the area codes. And > >https://www.howtocallabroad.com/results.php?callfrom=germany&callto=azerbaijan > >omits that 0. >az_AZ seems to use Latin script: > > % Azeri Language Locale for Azerbaijan (latin) > >If you look at LC_TIME, you see that Latin script is used for the day >and month names. > >But az_IR uses Arabic script. And LC_NAME in az_IR looks like: > > LC_NAME > name_gen "" > % Xanim: > name_miss "خانیم" > name_ms "خانیم" > name_mrs "خانیم" > % Agha > name_mr "آغا" > name_fmt "%d%t%s%t%g%t%m%t%f" > END LC_NAME > >So I don’t think this “copy "az_IR"” in LC_NAME is correct. Currently Agree
diff --git a/localedata/locales/az_AZ b/localedata/locales/az_AZ index 28de66d..7a17bb5 100644 --- a/localedata/locales/az_AZ +++ b/localedata/locales/az_AZ @@ -311,13 +311,11 @@ lang_lib "<U0061><U007A><U0065>" END LC_ADDRESS LC_TELEPHONE -% FIXME -tel_int_fmt "???" -int_prefix "<U0039><U0039><U0034>" -int_select "<U0038><U007E><U0031><U0030>" +tel_int_fmt "+%c %l" +int_prefix "994" +int_select "00" END LC_TELEPHONE LC_NAME -% FIXME -name_fmt "???" +copy "az_IR" END LC_NAME