public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 1/1] Fix LC_TELEPHONE/LC_NAME for az_AZ
       [not found] <CGME20170908031447epcas5p27b814aefdb0e420f82505228aa129270@epcas5p2.samsung.com>
@ 2017-09-08  3:14 ` Akhilesh Kumar
  2017-09-08  9:19   ` Mike FABIAN
       [not found]   ` <CGME20170908031447epcas5p27b814aefdb0e420f82505228aa129270@epcms5p6>
  0 siblings, 2 replies; 3+ messages in thread
From: Akhilesh Kumar @ 2017-09-08  3:14 UTC (permalink / raw)
  To: libc-alpha; +Cc: Akhilesh Kumar

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"
+int_prefix "994"
+int_select "00"
 END LC_TELEPHONE
 
 LC_NAME
-% FIXME
-name_fmt "???"
+copy "az_IR"
 END LC_NAME
-- 
1.7.1

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] Fix LC_TELEPHONE/LC_NAME for az_AZ
  2017-09-08  3:14 ` [PATCH 1/1] Fix LC_TELEPHONE/LC_NAME for az_AZ Akhilesh Kumar
@ 2017-09-08  9:19   ` Mike FABIAN
       [not found]   ` <CGME20170908031447epcas5p27b814aefdb0e420f82505228aa129270@epcms5p6>
  1 sibling, 0 replies; 3+ messages in thread
From: Mike FABIAN @ 2017-09-08  9:19 UTC (permalink / raw)
  To: Akhilesh Kumar; +Cc: libc-alpha

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.

-- 
Mike FABIAN <mfabian@redhat.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] Fix LC_TELEPHONE/LC_NAME for az_AZ
       [not found]   ` <CGME20170908031447epcas5p27b814aefdb0e420f82505228aa129270@epcms5p6>
@ 2017-09-14  3:54     ` AKHILESH KUMAR
  0 siblings, 0 replies; 3+ messages in thread
From: AKHILESH KUMAR @ 2017-09-14  3:54 UTC (permalink / raw)
  To: Mike FABIAN; +Cc: libc-alpha

[-- Attachment #1: Type: text/plain, Size: 1175 bytes --]

>>  
>>  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

[-- Attachment #2: rcptInfo.txt --]
[-- Type: application/octet-stream, Size: 1006 bytes --]


   =================================================================================================================================
      Subject    : Re: [PATCH 1/1] Fix LC_TELEPHONE/LC_NAME for az_AZ
      From       : null
      Sent Date  : 2017-09-08 14:49  GMT+5:30
   =================================================================================================================================
                  Name                Type          Job Title                       Dept.                               Company                
   =================================================================================================================================
      AKHILESH KUMAR                 TO         Chief Engineer             SRI-Delhi-Platform S/W 1 Team             Samsung Electronics
      libc-alpha@sourceware.org      CC
   =================================================================================================================================

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-09-14  3:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20170908031447epcas5p27b814aefdb0e420f82505228aa129270@epcas5p2.samsung.com>
2017-09-08  3:14 ` [PATCH 1/1] Fix LC_TELEPHONE/LC_NAME for az_AZ Akhilesh Kumar
2017-09-08  9:19   ` Mike FABIAN
     [not found]   ` <CGME20170908031447epcas5p27b814aefdb0e420f82505228aa129270@epcms5p6>
2017-09-14  3:54     ` AKHILESH KUMAR

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).