public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] localedata: LC_IDENTIFICATION: delete uncommon fields
@ 2016-04-15 17:31 Mike Frysinger
  2016-04-15 19:01 ` Chris Leonard
  0 siblings, 1 reply; 4+ messages in thread
From: Mike Frysinger @ 2016-04-15 17:31 UTC (permalink / raw)
  To: libc-alpha

Very few locales set audience/application/abbreviation, and
even the ones that do, set them largely to default/useless
values.  Drop them from the few locales until we decide we
want to set these everywhere (to something useful).
---
 localedata/locales/csb_PL      |  3 ---
 localedata/locales/mn_MN       |  2 --
 localedata/locales/sr_ME       |  3 ---
 localedata/locales/sr_RS       |  3 ---
 localedata/locales/sr_RS@latin |  3 ---
 localedata/locales/szl_PL      |  3 ---
 localedata/locales/tr_CY       |  3 ---
 localedata/locales/tr_TR       |  3 ---
 localedata/locales/uk_UA       | 31 -------------------------------
 9 files changed, 54 deletions(-)

diff --git a/localedata/locales/csb_PL b/localedata/locales/csb_PL
index d3cfa5c..9ac3479 100644
--- a/localedata/locales/csb_PL
+++ b/localedata/locales/csb_PL
@@ -34,9 +34,6 @@ language   "Kashubian"
 territory  "Poland"
 revision   "1.0"
 date       "2006-07-25"
-audience   "general"
-application   "GNU locale"
-abbreviation  ""
 
 category "i18n:2012";LC_IDENTIFICATION
 category "i18n:2012";LC_CTYPE
diff --git a/localedata/locales/mn_MN b/localedata/locales/mn_MN
index 7d71eb5..7dcac33 100644
--- a/localedata/locales/mn_MN
+++ b/localedata/locales/mn_MN
@@ -25,8 +25,6 @@ language   "Mongolian"
 territory  "Mongolia"
 revision   "1.0"
 date       "2005-05-21"
-audience   "general"
-application   "GNU locale"
 
 category "i18n:2012";LC_IDENTIFICATION
 category "i18n:2012";LC_CTYPE
diff --git a/localedata/locales/sr_ME b/localedata/locales/sr_ME
index c8b008b..22a823a 100644
--- a/localedata/locales/sr_ME
+++ b/localedata/locales/sr_ME
@@ -36,9 +36,6 @@ language   "Serbian"
 territory  "Montenegro"
 revision   "1.2"
 date       "2006-10-11"
-audience   "general"
-application   "GNU locale"
-abbreviation  ""
 
 category "i18n:2012";LC_IDENTIFICATION
 category "i18n:2012";LC_CTYPE
diff --git a/localedata/locales/sr_RS b/localedata/locales/sr_RS
index 20d3eb6..a7e93ab 100644
--- a/localedata/locales/sr_RS
+++ b/localedata/locales/sr_RS
@@ -36,9 +36,6 @@ language   "Serbian"
 territory  "Serbia"
 revision   "1.3"
 date       "2006-10-09"
-audience   "general"
-application   "GNU locale"
-abbreviation  ""
 
 category "i18n:2012";LC_IDENTIFICATION
 category "i18n:2012";LC_CTYPE
diff --git a/localedata/locales/sr_RS@latin b/localedata/locales/sr_RS@latin
index e8298ad..b362cab 100644
--- a/localedata/locales/sr_RS@latin
+++ b/localedata/locales/sr_RS@latin
@@ -36,9 +36,6 @@ language   "Serbian"
 territory  "Serbia"
 revision   "1.3"
 date       "2006-10-09"
-audience   "general"
-application   "GNU locale"
-abbreviation  ""
 
 category "i18n:2012";LC_IDENTIFICATION
 category "i18n:2012";LC_CTYPE
diff --git a/localedata/locales/szl_PL b/localedata/locales/szl_PL
index 2cda73b..a80cbe1 100644
--- a/localedata/locales/szl_PL
+++ b/localedata/locales/szl_PL
@@ -34,9 +34,6 @@ language   "Silesian"
 territory  "Poland"
 revision   "1.0"
 date       "2012-07-17"
-audience   "general"
-application   "GNU locale"
-abbreviation  ""
 
 category "i18n:2012";LC_IDENTIFICATION
 category "i18n:2012";LC_CTYPE
diff --git a/localedata/locales/tr_CY b/localedata/locales/tr_CY
index c60a613..efeb6c3 100644
--- a/localedata/locales/tr_CY
+++ b/localedata/locales/tr_CY
@@ -30,9 +30,6 @@ language   "Turkish"
 territory  "Cyprus"
 revision   "1.0"
 date       "2004-10-23"
-audience   ""
-application ""
-abbreviation ""
 
 category "i18n:2012";LC_IDENTIFICATION
 category "i18n:2012";LC_CTYPE
diff --git a/localedata/locales/tr_TR b/localedata/locales/tr_TR
index e1bfea9..38b10f7 100644
--- a/localedata/locales/tr_TR
+++ b/localedata/locales/tr_TR
@@ -45,9 +45,6 @@ language   "Turkish"
 territory  "Turkey"
 revision   "1.0"
 date       "2015-12-10"
-audience   ""
-application ""
-abbreviation ""
 
 category "i18n:2012";LC_IDENTIFICATION
 category "i18n:2012";LC_CTYPE
diff --git a/localedata/locales/uk_UA b/localedata/locales/uk_UA
index 92ebee1..42c85fb 100644
--- a/localedata/locales/uk_UA
+++ b/localedata/locales/uk_UA
@@ -30,47 +30,16 @@ escape_char /
 
 
 LC_IDENTIFICATION
-
-% Title of document: Ukrainian Language Locale for Ukraine
 title      "Ukrainian Language Locale for Ukraine"
-
-% Organization name.
 source     ""
-
-% Organization postal address.
 address    ""
-
-% Name of contact person.
 contact    "GNU libc maintainers"
-
-% Electronic address of organization or contact person.
 email      "bug-glibc-locales@gnu.org"
-
-% Telephone number of organization in international format.
 tel        ""
-
-% Fax number of organization in international format.
 fax        ""
-
-% Code of language, to which this document applies.
 language   "Ukrainian"
-
-% Code of country/geographic extent (ISO 3166), to which this document applies.
 territory  "Ukraine"
-
-% Intended user audience.
-audience   "general"
-
-% If for use with special application, a description of this application.
-application "general"
-
-% Short name.
-abbreviation "ULU-2.1.12"
-
-% Revision (numbers and dots).
 revision   "2.1.12"
-
-% Revision date
 date       "2006-05-20"
 
 category "i18n:2012";LC_IDENTIFICATION
-- 
2.7.4

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

* Re: [PATCH] localedata: LC_IDENTIFICATION: delete uncommon fields
  2016-04-15 17:31 [PATCH] localedata: LC_IDENTIFICATION: delete uncommon fields Mike Frysinger
@ 2016-04-15 19:01 ` Chris Leonard
  2016-04-15 20:03   ` Mike Frysinger
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Leonard @ 2016-04-15 19:01 UTC (permalink / raw)
  To: Mike Frysinger; +Cc: libc-alpha

They do not appear to be usefully populated with data at present.

+1 for dropping current entries, but I'd like to know more about the
intended use of these fields.

cjl

On Fri, Apr 15, 2016 at 1:31 PM, Mike Frysinger <vapier@gentoo.org> wrote:
> Very few locales set audience/application/abbreviation, and
> even the ones that do, set them largely to default/useless
> values.  Drop them from the few locales until we decide we
> want to set these everywhere (to something useful).
> ---
>  localedata/locales/csb_PL      |  3 ---
>  localedata/locales/mn_MN       |  2 --
>  localedata/locales/sr_ME       |  3 ---
>  localedata/locales/sr_RS       |  3 ---
>  localedata/locales/sr_RS@latin |  3 ---
>  localedata/locales/szl_PL      |  3 ---
>  localedata/locales/tr_CY       |  3 ---
>  localedata/locales/tr_TR       |  3 ---
>  localedata/locales/uk_UA       | 31 -------------------------------
>  9 files changed, 54 deletions(-)
>
> diff --git a/localedata/locales/csb_PL b/localedata/locales/csb_PL
> index d3cfa5c..9ac3479 100644
> --- a/localedata/locales/csb_PL
> +++ b/localedata/locales/csb_PL
> @@ -34,9 +34,6 @@ language   "Kashubian"
>  territory  "Poland"
>  revision   "1.0"
>  date       "2006-07-25"
> -audience   "general"
> -application   "GNU locale"
> -abbreviation  ""
>
>  category "i18n:2012";LC_IDENTIFICATION
>  category "i18n:2012";LC_CTYPE
> diff --git a/localedata/locales/mn_MN b/localedata/locales/mn_MN
> index 7d71eb5..7dcac33 100644
> --- a/localedata/locales/mn_MN
> +++ b/localedata/locales/mn_MN
> @@ -25,8 +25,6 @@ language   "Mongolian"
>  territory  "Mongolia"
>  revision   "1.0"
>  date       "2005-05-21"
> -audience   "general"
> -application   "GNU locale"
>
>  category "i18n:2012";LC_IDENTIFICATION
>  category "i18n:2012";LC_CTYPE
> diff --git a/localedata/locales/sr_ME b/localedata/locales/sr_ME
> index c8b008b..22a823a 100644
> --- a/localedata/locales/sr_ME
> +++ b/localedata/locales/sr_ME
> @@ -36,9 +36,6 @@ language   "Serbian"
>  territory  "Montenegro"
>  revision   "1.2"
>  date       "2006-10-11"
> -audience   "general"
> -application   "GNU locale"
> -abbreviation  ""
>
>  category "i18n:2012";LC_IDENTIFICATION
>  category "i18n:2012";LC_CTYPE
> diff --git a/localedata/locales/sr_RS b/localedata/locales/sr_RS
> index 20d3eb6..a7e93ab 100644
> --- a/localedata/locales/sr_RS
> +++ b/localedata/locales/sr_RS
> @@ -36,9 +36,6 @@ language   "Serbian"
>  territory  "Serbia"
>  revision   "1.3"
>  date       "2006-10-09"
> -audience   "general"
> -application   "GNU locale"
> -abbreviation  ""
>
>  category "i18n:2012";LC_IDENTIFICATION
>  category "i18n:2012";LC_CTYPE
> diff --git a/localedata/locales/sr_RS@latin b/localedata/locales/sr_RS@latin
> index e8298ad..b362cab 100644
> --- a/localedata/locales/sr_RS@latin
> +++ b/localedata/locales/sr_RS@latin
> @@ -36,9 +36,6 @@ language   "Serbian"
>  territory  "Serbia"
>  revision   "1.3"
>  date       "2006-10-09"
> -audience   "general"
> -application   "GNU locale"
> -abbreviation  ""
>
>  category "i18n:2012";LC_IDENTIFICATION
>  category "i18n:2012";LC_CTYPE
> diff --git a/localedata/locales/szl_PL b/localedata/locales/szl_PL
> index 2cda73b..a80cbe1 100644
> --- a/localedata/locales/szl_PL
> +++ b/localedata/locales/szl_PL
> @@ -34,9 +34,6 @@ language   "Silesian"
>  territory  "Poland"
>  revision   "1.0"
>  date       "2012-07-17"
> -audience   "general"
> -application   "GNU locale"
> -abbreviation  ""
>
>  category "i18n:2012";LC_IDENTIFICATION
>  category "i18n:2012";LC_CTYPE
> diff --git a/localedata/locales/tr_CY b/localedata/locales/tr_CY
> index c60a613..efeb6c3 100644
> --- a/localedata/locales/tr_CY
> +++ b/localedata/locales/tr_CY
> @@ -30,9 +30,6 @@ language   "Turkish"
>  territory  "Cyprus"
>  revision   "1.0"
>  date       "2004-10-23"
> -audience   ""
> -application ""
> -abbreviation ""
>
>  category "i18n:2012";LC_IDENTIFICATION
>  category "i18n:2012";LC_CTYPE
> diff --git a/localedata/locales/tr_TR b/localedata/locales/tr_TR
> index e1bfea9..38b10f7 100644
> --- a/localedata/locales/tr_TR
> +++ b/localedata/locales/tr_TR
> @@ -45,9 +45,6 @@ language   "Turkish"
>  territory  "Turkey"
>  revision   "1.0"
>  date       "2015-12-10"
> -audience   ""
> -application ""
> -abbreviation ""
>
>  category "i18n:2012";LC_IDENTIFICATION
>  category "i18n:2012";LC_CTYPE
> diff --git a/localedata/locales/uk_UA b/localedata/locales/uk_UA
> index 92ebee1..42c85fb 100644
> --- a/localedata/locales/uk_UA
> +++ b/localedata/locales/uk_UA
> @@ -30,47 +30,16 @@ escape_char /
>
>
>  LC_IDENTIFICATION
> -
> -% Title of document: Ukrainian Language Locale for Ukraine
>  title      "Ukrainian Language Locale for Ukraine"
> -
> -% Organization name.
>  source     ""
> -
> -% Organization postal address.
>  address    ""
> -
> -% Name of contact person.
>  contact    "GNU libc maintainers"
> -
> -% Electronic address of organization or contact person.
>  email      "bug-glibc-locales@gnu.org"
> -
> -% Telephone number of organization in international format.
>  tel        ""
> -
> -% Fax number of organization in international format.
>  fax        ""
> -
> -% Code of language, to which this document applies.
>  language   "Ukrainian"
> -
> -% Code of country/geographic extent (ISO 3166), to which this document applies.
>  territory  "Ukraine"
> -
> -% Intended user audience.
> -audience   "general"
> -
> -% If for use with special application, a description of this application.
> -application "general"
> -
> -% Short name.
> -abbreviation "ULU-2.1.12"
> -
> -% Revision (numbers and dots).
>  revision   "2.1.12"
> -
> -% Revision date
>  date       "2006-05-20"
>
>  category "i18n:2012";LC_IDENTIFICATION
> --
> 2.7.4
>

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

* Re: [PATCH] localedata: LC_IDENTIFICATION: delete uncommon fields
  2016-04-15 19:01 ` Chris Leonard
@ 2016-04-15 20:03   ` Mike Frysinger
  2016-04-15 23:26     ` Chris Leonard
  0 siblings, 1 reply; 4+ messages in thread
From: Mike Frysinger @ 2016-04-15 20:03 UTC (permalink / raw)
  To: Chris Leonard; +Cc: libc-alpha

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

On 15 Apr 2016 15:00, Chris Leonard wrote:
> They do not appear to be usefully populated with data at present.
> 
> +1 for dropping current entries, but I'd like to know more about the
> intended use of these fields.

ISO 30112 WD10 [2014] says:

audience
	If not for general use, an indication of the intended user
	audience. This keyword is optional.

application
	If for use of a special application, a description of the
	application. This keyword is optional.

abbreviation
	Short name for provider of the source. This keyword is
	optional.

i'm not sure any of these would really be usefully set in glibc.
-mike

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

* Re: [PATCH] localedata: LC_IDENTIFICATION: delete uncommon fields
  2016-04-15 20:03   ` Mike Frysinger
@ 2016-04-15 23:26     ` Chris Leonard
  0 siblings, 0 replies; 4+ messages in thread
From: Chris Leonard @ 2016-04-15 23:26 UTC (permalink / raw)
  To: Chris Leonard, libc-alpha

On Fri, Apr 15, 2016 at 4:03 PM, Mike Frysinger <vapier@gentoo.org> wrote:
> On 15 Apr 2016 15:00, Chris Leonard wrote:
>> They do not appear to be usefully populated with data at present.
>>
>> +1 for dropping current entries, but I'd like to know more about the
>> intended use of these fields.
>
> ISO 30112 WD10 [2014] says:
>
> audience
>         If not for general use, an indication of the intended user
>         audience. This keyword is optional.
>
> application
>         If for use of a special application, a description of the
>         application. This keyword is optional.
>
> abbreviation
>         Short name for provider of the source. This keyword is
>         optional.
>
> i'm not sure any of these would really be usefully set in glibc.
> -mike


Thank you for the additional information.  I agree they do not seem
well suited for use in glibc, but it is good that specialized uses
could be backfilled locally with localedef to insert modified locales
with additions if needed.

Still +1 for dropping in current entries.

cjl

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

end of thread, other threads:[~2016-04-15 23:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-15 17:31 [PATCH] localedata: LC_IDENTIFICATION: delete uncommon fields Mike Frysinger
2016-04-15 19:01 ` Chris Leonard
2016-04-15 20:03   ` Mike Frysinger
2016-04-15 23:26     ` Chris Leonard

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