[v2,1/2] New locale ca_ES@valencia [BZ #2522]

Message ID 1467284253-21412-1-git-send-email-aurelien@aurel32.net
State Committed
Delegated to: Mike Fabian
Headers

Commit Message

Aurelien Jarno June 30, 2016, 10:57 a.m. UTC
  The Valencian (meridional Catalan) locale is basically a copy of the
Catlan locale. The point of having a separate locale is only for PO
translations. This locale is already provided by several distributions
and is already supported by various projects like LibreOffice, Mozilla,
Gnome, KDE.

localedata/Changelog:
	[BZ #2522]
	* locales/ca_ES@valencia: New locale.
	* SUPPORTED: Add ca_ES@valencia.
---
 localedata/ChangeLog              |  7 ++++
 localedata/SUPPORTED              |  1 +
 localedata/locales/ca_ES@valencia | 87 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 95 insertions(+)
 create mode 100644 localedata/locales/ca_ES@valencia

Changes v1 -> v2:
  - Copy ca_ES instead of i18n for LC_CTYPE 
  - Remove pointless comments
  

Comments

Marko Myllynen July 6, 2016, 11:21 a.m. UTC | #1
Hi,

On 2016-06-30 13:57, Aurelien Jarno wrote:
> The Valencian (meridional Catalan) locale is basically a copy of the
> Catlan locale. The point of having a separate locale is only for PO
> translations. This locale is already provided by several distributions
> and is already supported by various projects like LibreOffice, Mozilla,
> Gnome, KDE.
> 
> localedata/Changelog:
> 	[BZ #2522]
> 	* locales/ca_ES@valencia: New locale.
> 	* SUPPORTED: Add ca_ES@valencia.

According to Wikipedia [1] linguists consider Valencian a dialect not a
language and it doesn't have an ISO 639 language code (like Catalan
does). But OTOH it's already used elsewhere.

Technically speaking the locale file is of course trivial so it should
be decided whether locales which have no corresponding ISO 639 language
code are ok for glibc these days (that was not the case in the past).

1) https://en.wikipedia.org/wiki/Valencian

Thanks,
  

Patch

diff --git a/localedata/ChangeLog b/localedata/ChangeLog
index b935e7d..fa4e53b 100644
--- a/localedata/ChangeLog
+++ b/localedata/ChangeLog
@@ -1,3 +1,10 @@ 
+2016-06-30  Jordi Mallach  <jordi@gnu.org>
+	    Aurelien Jarno  <aurelien@aurel32.net>
+
+	[BZ #2522]
+	* locales/ca_ES@valencia: New locale.
+	* SUPPORTED: Add ca_ES@valencia.
+
 2016-06-16  Simion Onea  <simionea@gmail.com>
 
 	[BZ #18911]
diff --git a/localedata/SUPPORTED b/localedata/SUPPORTED
index 965e2b8..16b08ef 100644
--- a/localedata/SUPPORTED
+++ b/localedata/SUPPORTED
@@ -80,6 +80,7 @@  ca_AD/ISO-8859-15 \
 ca_ES.UTF-8/UTF-8 \
 ca_ES/ISO-8859-1 \
 ca_ES@euro/ISO-8859-15 \
+ca_ES.UTF-8@valencia/UTF-8 \
 ca_FR.UTF-8/UTF-8 \
 ca_FR/ISO-8859-15 \
 ca_IT.UTF-8/UTF-8 \
diff --git a/localedata/locales/ca_ES@valencia b/localedata/locales/ca_ES@valencia
new file mode 100644
index 0000000..12319c1
--- /dev/null
+++ b/localedata/locales/ca_ES@valencia
@@ -0,0 +1,87 @@ 
+comment_char %
+escape_char  /
+
+% This file is part of the GNU C Library and contains locale data.
+% The Free Software Foundation does not claim any copyright interest
+% in the locale data contained in this file.  The foregoing does not
+% affect the license of the GNU C Library as a whole.  It does not
+% exempt you from the conditions of the license if your use would
+% otherwise be governed by that license.
+
+% Valencian (southern Catalan) locale for Spain with Euro
+%
+% Note that this locale is almost the same as ca_ES@euro.  The point of having
+% a separate locale is only for PO translations, which have a lot of social
+% support and are very appreciated by the Valencian-speaking community.
+
+LC_IDENTIFICATION
+title      "Valencian (southern Catalan) locale for Spain with Euro"
+source     ""
+address    ""
+contact    "Jordi Mallach"
+email      "jordi@gnu.org"
+tel        ""
+fax        ""
+language   "Catalan"
+territory  "Spain"
+revision   "1.0"
+date       "2006-04-06"
+%
+category  "i18n:2000";LC_IDENTIFICATION
+category  "i18n:2000";LC_CTYPE
+category  "i18n:2000";LC_COLLATE
+category  "i18n:2000";LC_MONETARY
+category  "i18n:2000";LC_NUMERIC
+category  "i18n:2000";LC_TIME
+category  "i18n:2000";LC_MESSAGES
+category  "i18n:2000";LC_PAPER
+category  "i18n:2000";LC_NAME
+category  "i18n:2000";LC_ADDRESS
+category  "i18n:2000";LC_TELEPHONE
+category  "i18n:2000";LC_MEASUREMENT
+
+END LC_IDENTIFICATION
+
+LC_CTYPE
+copy "ca_ES"
+END LC_CTYPE
+
+LC_COLLATE
+copy "ca_ES"
+END LC_COLLATE
+
+LC_MONETARY
+copy "ca_ES"
+END LC_MONETARY
+
+LC_NUMERIC
+copy "ca_ES"
+END LC_NUMERIC
+
+LC_TIME
+copy "ca_ES"
+END LC_TIME
+
+LC_MESSAGES
+copy "ca_ES"
+END LC_MESSAGES
+
+LC_PAPER
+copy "ca_ES"
+END LC_PAPER
+
+LC_NAME
+copy "ca_ES"
+END LC_NAME
+
+LC_ADDRESS
+copy "ca_ES"
+END LC_ADDRESS
+
+LC_TELEPHONE
+copy "ca_ES"
+END LC_TELEPHONE
+
+LC_MEASUREMENT
+copy "ca_ES"
+END LC_MEASUREMENT