This is the mail archive of the
libc-locales@sourceware.org
mailing list for the GNU libc locales project.
Re: Possible improvements on German locales
- From: "Wallnoefer, Matthias" <matthias dot wallnoefer at lugbz dot org>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: libc-locales at sourceware dot org
- Date: Mon, 11 Apr 2016 18:12:49 +0200
- Subject: Re: Possible improvements on German locales
- Authentication-results: sourceware.org; auth=none
- References: <56EDAFCA dot 5000600 at lugbz dot org> <20160410054240 dot GZ6588 at vapier dot lan>
Something like these two patches. You may ignore the date part in de_AT.
Matthias
Am 2016-04-10 07:42, schrieb Mike Frysinger:
On 19 Mar 2016 21:00, Matthias Dieter WallnÃfer wrote:
during my work on the de_IT locale I found some room for improvements
for the de_AT, de_BE and de_CH locales.
1. LC_MESSAGES: may be copied from de_DE (only de_AT)
2. LC_NAME: de_DE contains more categories and goes more into detail.
feel free to post patches
3. LC_TIME date_fmt. date command's output is uncommon in German.
see this thread:
https://sourceware.org/ml/libc-alpha/2016-04/msg00158.html
-mike
diff --git a/usr/share/i18n/locales/de_AT b/de_AT
index 7c31538..f7e6649 100644
--- a/usr/share/i18n/locales/de_AT
+++ b/de_AT
@@ -54,8 +54,7 @@ copy "iso14651_t1"
END LC_COLLATE
LC_MESSAGES
-yesexpr "<U005E><U005B><U006A><U004A><U0079><U0059><U005D><U002E><U002A>"
-noexpr "<U005E><U005B><U006E><U004E><U005D><U002E><U002A>"
+copy "de_DE"
END LC_MESSAGES
LC_MONETARY
@@ -116,9 +115,9 @@ d_fmt "<U0025><U0059><U002D><U0025><U006D><U002D><U0025><U0064>"
t_fmt "<U0025><U0054>"
am_pm "";""
t_fmt_ampm ""
-date_fmt "<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065>/
-<U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020>/
-<U0025><U005A><U0020><U0025><U0059>"
+date_fmt "<U0025><U0061><U0020><U0025><U002D><U0064><U002E><U0020>/
+<U0025><U0062><U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053>/
+<U0020><U0025><U005A><U0020><U0025><U0059>"
week 7;19971130;4
first_weekday 2
first_workday 2
@@ -143,8 +142,7 @@ measurement 1
END LC_MEASUREMENT
LC_NAME
-name_fmt "<U0025><U0064><U0025><U0074><U0025><U0067><U0025><U0074>/
-<U0025><U006D><U0025><U0074><U0025><U0066>"
+copy "de_DE"
END LC_NAME
LC_ADDRESS
diff --git a/usr/share/i18n/locales/de_CH b/de_CH
index 8835f08..5f710aa 100644
--- a/usr/share/i18n/locales/de_CH
+++ b/de_CH
@@ -145,8 +145,7 @@ measurement 1
END LC_MEASUREMENT
LC_NAME
-name_fmt "<U0025><U0064><U0025><U0074><U0025><U0067><U0025><U0074>/
-<U0025><U006D><U0025><U0074><U0025><U0066>"
+copy "de_DE"
END LC_NAME
LC_ADDRESS