From: Florian Weimer <fweimer@redhat.com>
To: Carlos O'Donell via Libc-locales <libc-locales@sourceware.org>
Cc: "Thomas Näveke" <locales@tfan.eu>, "Carlos O'Donell" <carlos@redhat.com>
Subject: Re: Adding an en_DE locale
Date: Fri, 05 Jul 2024 17:21:59 +0200 [thread overview]
Message-ID: <87le2fvp7s.fsf@oldenburg.str.redhat.com> (raw)
In-Reply-To: <70e1d0f4-48e8-4a35-afdb-a1aeb96db153@redhat.com> (Carlos O'Donell via Libc-locales's message of "Fri, 5 Jul 2024 08:06:10 -0400")
* Carlos O'Donell via Libc-locales:
> On 7/3/24 12:20 PM, Thomas Näveke wrote:
>> I was wondering if I was welcome to submit a patch for an "en_DE"
>> locale, i.e. a locale that uses English language but German units,
>> dates, etc. It would be useful for English speakers working in
>> Germany or with Germans, as well as for Germans who prefer the
>> display language to be English while retaining their date format and
>> units. There is precedence for such a locale, as it exists on Windows
>> (Checked on Win10). It is also defined in the Unicode CLDR
>> (https://github.com/unicode-org/cldr/blob/main/common/main/en_DE.xml).
>> A similar locale exists for Danish with en_DK. My idea is to copy the
>> de_DE locale and adjust the following fields with the entries from
>> en_US:
>
> Thomas,
>
> Yes, if Windows 10 and Unicode CLDR have such locales, then I think we
> should consider that they are useful and in use by users.
On the other hand, glibc supports on the fly composition of locales, so
you could use LANG=en_US.utf8 with the de_DE.utf8 overrides for the
parts you want from there (or vice versa). Or you can compile your own
locale using localedef. Most distributions ship the locale sources, so
that you can compose something quickly using those copy directives.
Thanks,
Florian
next prev parent reply other threads:[~2024-07-05 15:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-03 16:20 Thomas Näveke
2024-07-05 12:06 ` Carlos O'Donell
2024-07-05 15:21 ` Florian Weimer [this message]
2024-08-21 12:01 ` Adding an en_SE locale (was: Adding an en_DE locale) Rickard Armiento
2024-08-21 13:25 ` Adding an en_SE locale Carlos O'Donell
2024-08-21 21:11 ` AW: Adding an en_SE locale (was: Adding an en_DE locale) yingxiang.yao
2024-08-22 11:01 ` Adding an en_SE locale Rickard Armiento
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87le2fvp7s.fsf@oldenburg.str.redhat.com \
--to=fweimer@redhat.com \
--cc=carlos@redhat.com \
--cc=libc-locales@sourceware.org \
--cc=locales@tfan.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).