public inbox for libc-locales@sourceware.org
 help / color / mirror / Atom feed
* Possible improvements on German locales
@ 2016-03-19 23:23 Matthias Dieter Wallnöfer
  2016-04-10  5:43 ` Mike Frysinger
  0 siblings, 1 reply; 6+ messages in thread
From: Matthias Dieter Wallnöfer @ 2016-03-19 23:23 UTC (permalink / raw)
  To: libc-locales

Hi all,

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.
    So I propose a copy reference in the other three locales.
>     LC_NAME
>     name_fmt    "%d%t%g%t/
>     %m%t%f"
>     name_miss   "Fräulein"
>     name_mr     "Herr"
>     name_mrs    "Frau"
>     name_ms     "Frau"
>     END LC_NAME
 3. LC_TIME date_fmt. date command's output is uncommon in German.

    Der Standard (derstandard.at), a big Austrian news site presents the
    date in a sane order. <weekday> <day> <month> <year> <time>
>     Samstag, 19. März 2016, 20:33

    bad:
>     $ LANG=de_AT.utf8 date
>     Sam Mär 19 20:24:43 CET 2016
    better:
>     $ LANG=de_DE.utf8 date
>     Sa 19. Mär 20:24:35 CET 2016
    good:
>     $ LANG=de_DE.utf8 date +%c
>     Sa 19 Mär 2016 20:41:25 CET
    So I would change the "date" output for each German locale into the
    same as "data +%c".

Just my thoughts,

Matthias Wallnöfer

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

* Re: Possible improvements on German locales
  2016-03-19 23:23 Possible improvements on German locales Matthias Dieter Wallnöfer
@ 2016-04-10  5:43 ` Mike Frysinger
  2016-04-11 20:35   ` Wallnoefer, Matthias
  0 siblings, 1 reply; 6+ messages in thread
From: Mike Frysinger @ 2016-04-10  5:43 UTC (permalink / raw)
  To: Matthias Dieter Wallnöfer; +Cc: libc-locales

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

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

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

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

* Re: Possible improvements on German locales
  2016-04-11 20:35   ` Wallnoefer, Matthias
@ 2016-04-11 19:00     ` Mike Frysinger
  2016-04-13  6:27       ` Matthias Dieter Wallnöfer
  0 siblings, 1 reply; 6+ messages in thread
From: Mike Frysinger @ 2016-04-11 19:00 UTC (permalink / raw)
  To: Wallnoefer, Matthias; +Cc: libc-locales

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

On 11 Apr 2016 18:12, Wallnoefer, Matthias wrote:
> Something like these two patches. You may ignore the date part in de_AT.

ignoring the date_fmt change, these look fine to me
-mike

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

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

* Re: Possible improvements on German locales
  2016-04-10  5:43 ` Mike Frysinger
@ 2016-04-11 20:35   ` Wallnoefer, Matthias
  2016-04-11 19:00     ` Mike Frysinger
  0 siblings, 1 reply; 6+ messages in thread
From: Wallnoefer, Matthias @ 2016-04-11 20:35 UTC (permalink / raw)
  To: Mike Frysinger; +Cc: libc-locales

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

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: de_AT.patch --]
[-- Type: text/x-diff; name=de_AT.patch, Size: 1173 bytes --]

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: de_CH.patch --]
[-- Type: text/x-diff; name=de_CH.patch, Size: 350 bytes --]

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

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

* Re: Possible improvements on German locales
  2016-04-11 19:00     ` Mike Frysinger
@ 2016-04-13  6:27       ` Matthias Dieter Wallnöfer
  2016-04-13 15:13         ` Mike Frysinger
  0 siblings, 1 reply; 6+ messages in thread
From: Matthias Dieter Wallnöfer @ 2016-04-13  6:27 UTC (permalink / raw)
  To: libc-locales

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

Okay, reworked de_AT patch.

Mike Frysinger schrieb:
> On 11 Apr 2016 18:12, Wallnoefer, Matthias wrote:
>> Something like these two patches. You may ignore the date part in de_AT.
> ignoring the date_fmt change, these look fine to me
> -mike


[-- Attachment #2: de_AT.patch --]
[-- Type: application/mbox, Size: 600 bytes --]

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

* Re: Possible improvements on German locales
  2016-04-13  6:27       ` Matthias Dieter Wallnöfer
@ 2016-04-13 15:13         ` Mike Frysinger
  0 siblings, 0 replies; 6+ messages in thread
From: Mike Frysinger @ 2016-04-13 15:13 UTC (permalink / raw)
  To: Matthias Dieter Wallnöfer; +Cc: libc-locales

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

i've merged both now.  thanks!
-mike

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

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

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

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-19 23:23 Possible improvements on German locales Matthias Dieter Wallnöfer
2016-04-10  5:43 ` Mike Frysinger
2016-04-11 20:35   ` Wallnoefer, Matthias
2016-04-11 19:00     ` Mike Frysinger
2016-04-13  6:27       ` Matthias Dieter Wallnöfer
2016-04-13 15:13         ` Mike Frysinger

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