diff mbox

localedata: LC_IDENTIFICATION: delete uncommon fields

Message ID 1460741460-17586-1-git-send-email-vapier@gentoo.org
State New
Headers show

Commit Message

Mike Frysinger April 15, 2016, 5:31 p.m. UTC
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(-)

Comments

Chris Leonard April 15, 2016, 7 p.m. UTC | #1
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
>
Mike Frysinger April 15, 2016, 8:03 p.m. UTC | #2
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
Chris Leonard April 15, 2016, 11:25 p.m. UTC | #3
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
diff mbox

Patch

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