[Bug localedata/13237] New: country_name field of LC_ADDRESS

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

[Bug localedata/13237] New: country_name field of LC_ADDRESS

glaubitz at physik dot fu-berlin.de
http://sourceware.org/bugzilla/show_bug.cgi?id=13237

             Bug #: 13237
           Summary: country_name field of LC_ADDRESS
           Product: glibc
           Version: 2.14
            Status: NEW
          Severity: normal
          Priority: P2
         Component: localedata
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]
    Classification: Unclassified


Created attachment 5954
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5954
Summary of glibc country_name field entries.

I have performed a comprehensive analysis of the use of the LC_ADDRESS field
for country_name.  I am somewhat concerned by the findings of that analysis for
a field that should be populated with the name of the country in the language
of the locale, two pieces of information inherent in the locale name.


There are 279 locales (excluding the deprecated iw_IL).

Of those 279, only 84 locales have populated country_name fields.



84 populated

43 empty, (not readily determined)

152 empty, but can be easily determined by look-up in ISO-3166 L10n files.

equals 279 total


Of the 84 populated country_name fields:

37 can be confirmed from ISO-3166 L10n files.

31 cannot be confirmed from ISO-3166 L10n files (not necessarily a problem).

16 have obvious encoding errors or require review and / or correction.


Examples of errors:

km_KH encodes Lao characters spelling Laos, not Khmer characters spelling
Cambodia.

bg_BG, ku_TR, mk_MK, mn_MN, tr_TR encode English, not native language/script
names

bo_CN and bo_IN coded as FIXME, should be commented out.

dz_BT coded as BHU

ur_IN uses "copy hi_IN", thus encoding Localein Hindi, not Urdu language name
of India.

en-US encodes USA (not United States)
es-US encodes USA (not Estados Unidos)

Others include conflicts with ISO-3166 entries that require clarification.

Some consideration should be given to correcting the obvious errors and making
the easily confirmed additions so that the LC_ADDRESS country_name field is
more usefully populated with the country name of the locale in the language of
the locale.


The first column attached spreadsheet contains links to 2xlibre.net locale
files (purely for convenience), This data had been recently refreshed from 2.14
release.

All details checked against original sources at:
http://sourceware.org/git/?p=glibc.git;a=tree;f=localedata/locales;h=aa17c365ce474cfb9c7dab92b623bfb5a8786208;hb=HEAD

The key columns are the "Action" (suggested) and the "Corrected country_name"
column.  The entries in the "Evidence ISO-3166" column link directly to the
relevant location within the PO files.

--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/13237] country_name field of LC_ADDRESS

glaubitz at physik dot fu-berlin.de
http://sourceware.org/bugzilla/show_bug.cgi?id=13237

Claude Paroz <claude at 2xlibre dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |claude at 2xlibre dot net

--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/13237] country_name field of LC_ADDRESS

glaubitz at physik dot fu-berlin.de
In reply to this post by glaubitz at physik dot fu-berlin.de
http://sourceware.org/bugzilla/show_bug.cgi?id=13237

Ulrich Drepper <drepper.fsp at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING
                 CC|                            |drepper.fsp at gmail dot
                   |                            |com

--- Comment #1 from Ulrich Drepper <drepper.fsp at gmail dot com> 2011-12-22 16:54:29 UTC ---
Either you provide a real patch and not something as useless as a spreadsheet
or you close the bug.

--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/13237] country_name field of LC_ADDRESS

glaubitz at physik dot fu-berlin.de
In reply to this post by glaubitz at physik dot fu-berlin.de
http://sourceware.org/bugzilla/show_bug.cgi?id=13237

--- Comment #2 from Chris Leonard <cjlhomeaddress at gmail dot com> 2011-12-22 17:06:57 UTC ---
Ulrich, thank you for commenting, I wasn't sure anyone had looked at this bug.  

As it was a global analysis a spreadsheet seemed the best way to communicate
about it.  Are you saying that the only way to get action would be to provide
several hundred individual patches?  Just trying to understand.

--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/13237] country_name field of LC_ADDRESS

glaubitz at physik dot fu-berlin.de
In reply to this post by glaubitz at physik dot fu-berlin.de
http://sourceware.org/bugzilla/show_bug.cgi?id=13237

--- Comment #3 from Claude Paroz <claude at 2xlibre dot net> 2011-12-23 08:30:43 UTC ---
If I would have to receive the patch, I would like to have one for
changes/fixes and one for new field additions, but it's just me...

--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/13237] country_name field of LC_ADDRESS

glaubitz at physik dot fu-berlin.de
In reply to this post by glaubitz at physik dot fu-berlin.de
http://sourceware.org/bugzilla/show_bug.cgi?id=13237

--- Comment #4 from Ulrich Drepper <drepper.fsp at gmail dot com> 2011-12-23 14:53:49 UTC ---
> As it was a global analysis a spreadsheet seemed the best way to communicate
> about it.  Are you saying that the only way to get action would be to provide
> several hundred individual patches?  Just trying to understand.

For all files where the change has been created the same way a single patch is
sufficient.  But yes, a patch is needed.

--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/13237] country_name field of LC_ADDRESS

glaubitz at physik dot fu-berlin.de
In reply to this post by glaubitz at physik dot fu-berlin.de
http://sourceware.org/bugzilla/show_bug.cgi?id=13237

--- Comment #5 from Chris Leonard <cjlhomeaddress at gmail dot com> 2011-12-23 14:59:08 UTC ---
I will work on several patches as suggested.  I was not sure that such a
multi-locale patch would be acceptable.  i will break them out as logically as
possible, additions supported by ISO-3166, simple fixes (commenting out the
"FIXME"), etc.

--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/13237] country_name field of LC_ADDRESS

glaubitz at physik dot fu-berlin.de
In reply to this post by glaubitz at physik dot fu-berlin.de
http://sourceware.org/bugzilla/show_bug.cgi?id=13237

Chris Leonard <cjlhomeaddress at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |13949

--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/13237] country_name field of LC_ADDRESS

glaubitz at physik dot fu-berlin.de
In reply to this post by glaubitz at physik dot fu-berlin.de
http://sourceware.org/bugzilla/show_bug.cgi?id=13237

Chris Leonard <cjlhomeaddress at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |13950

--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/13237] country_name field of LC_ADDRESS

glaubitz at physik dot fu-berlin.de
In reply to this post by glaubitz at physik dot fu-berlin.de
http://sourceware.org/bugzilla/show_bug.cgi?id=13237

Chris Leonard <cjlhomeaddress at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |13951

--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/13237] country_name field of LC_ADDRESS

glaubitz at physik dot fu-berlin.de
In reply to this post by glaubitz at physik dot fu-berlin.de
http://sourceware.org/bugzilla/show_bug.cgi?id=13237

Chris Leonard <cjlhomeaddress at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |13952

--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/13237] country_name field of LC_ADDRESS

glaubitz at physik dot fu-berlin.de
In reply to this post by glaubitz at physik dot fu-berlin.de
http://sourceware.org/bugzilla/show_bug.cgi?id=13237

Chris Leonard <cjlhomeaddress at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|13952                       |

--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/13237] country_name field of LC_ADDRESS

glaubitz at physik dot fu-berlin.de
In reply to this post by glaubitz at physik dot fu-berlin.de
http://sourceware.org/bugzilla/show_bug.cgi?id=13237

Chris Leonard <cjlhomeaddress at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |13952

--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/13237] country_name field of LC_ADDRESS

glaubitz at physik dot fu-berlin.de
In reply to this post by glaubitz at physik dot fu-berlin.de
http://sourceware.org/bugzilla/show_bug.cgi?id=13237

Roumen Petrov <bugtrack at roumenpetrov dot info> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
                 CC|                            |bugtrack at roumenpetrov
                   |                            |dot info
         Resolution|                            |DUPLICATE

--- Comment #6 from Roumen Petrov <bugtrack at roumenpetrov dot info> 2012-04-06 20:33:18 UTC ---


*** This bug has been marked as a duplicate of bug 11484 ***

--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/13237] country_name field of LC_ADDRESS

glaubitz at physik dot fu-berlin.de
In reply to this post by glaubitz at physik dot fu-berlin.de
http://sourceware.org/bugzilla/show_bug.cgi?id=13237

Roumen Petrov <bugtrack at roumenpetrov dot info> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|DUPLICATE                   |

--- Comment #7 from Roumen Petrov <bugtrack at roumenpetrov dot info> 2012-04-06 20:36:25 UTC ---
I'm sorry wrong issue marked as duplicate

--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/13237] country_name field of LC_ADDRESS

glaubitz at physik dot fu-berlin.de
In reply to this post by glaubitz at physik dot fu-berlin.de
http://sourceware.org/bugzilla/show_bug.cgi?id=13237

Bug 13237 depends on bug 13949, which changed state.

Bug 13949 Summary: Correct L10n of country-name bg_BG
http://sourceware.org/bugzilla/show_bug.cgi?id=13949

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE

--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/13237] country_name field of LC_ADDRESS

glaubitz at physik dot fu-berlin.de
In reply to this post by glaubitz at physik dot fu-berlin.de
http://sourceware.org/bugzilla/show_bug.cgi?id=13237

Roumen Petrov <bugtrack at roumenpetrov dot info> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |WAITING

--- Comment #8 from Roumen Petrov <bugtrack at roumenpetrov dot info> 2012-04-06 20:43:18 UTC ---
Restored to waiting

--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/13237] country_name field of LC_ADDRESS

glaubitz at physik dot fu-berlin.de
In reply to this post by glaubitz at physik dot fu-berlin.de
http://sourceware.org/bugzilla/show_bug.cgi?id=13237

Chris Leonard <cjlhomeaddress at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |11484

--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.