From: "Jan Djärv" <jan.h.d@swipnet.se>
To: David Kastrup <dak@gnu.org>
Cc: Sascha Wilde <wilde@sha-bang.de>,
Thomas Arendsen Hein <thomas@intevation.de>,
emacs-devel@gnu.org
Subject: Re: set-locale-environement: strange default detection
Date: Wed, 18 Jul 2007 13:04:42 +0200 [thread overview]
Message-ID: <469DF3CA.4040704@swipnet.se> (raw)
In-Reply-To: <86ps2qm1de.fsf@lola.quinscape.zz>
David Kastrup skrev:
> Sascha Wilde <wilde@sha-bang.de> writes:
>
>> David Kastrup <dak@gnu.org> wrote:
>>> Sascha Wilde <wilde@sha-bang.de> writes:
>>>> a friend of mine (unfortunately a vim user, but a nice guy otherwise),
>>>> tried emacs on Gnu/Linux and was surprised that `C-h t' presented him
>>>> the German version of the tutorial.
>> [...]
>>> The problem is that we don't have finegrained support. For the
>>> purpose of talking to the user, LC_MESSAGES is relevant. But Emacs so
>>> rarely has the opportunity to talk anything but English to the user
>>> that we simply have no reasonable interface into this for now.
>> So maybe we should check for LANG, LC_ALL and maybe LC_MESSAGES in
>> tutorial.el itself.
>
> Possibly. I am not sure whether environment variables tell the whole
> story, and in a readable way (there are locale system calls, too), but
> they would probably cover 90% of the cases.
>
The locale man page says the order should be LC_ALL, LC_MESSAGES, LANG:
1. If there is a non-null environment variable LC_ALL, the value of
LC_ALL is used.
2. If an environment variable with the same name as one of the cat‐
egories above exists and is non-null, its value is used for that
category.
3. If there is a non-null environment variable LANG, the value of
LANG is used.
Jan D.
next prev parent reply other threads:[~2007-07-18 11:04 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-18 10:14 set-locale-environement: strange default detection Sascha Wilde
2007-07-18 10:19 ` David Kastrup
2007-07-18 10:40 ` Sascha Wilde
2007-07-18 10:50 ` David Kastrup
2007-07-18 11:04 ` Jan Djärv [this message]
2007-07-18 12:28 ` Sascha Wilde
2007-07-18 18:54 ` Reiner Steib
2007-07-18 21:24 ` David Kastrup
2007-07-19 8:21 ` Sascha Wilde
2007-07-19 9:16 ` David Kastrup
2007-07-22 14:59 ` Better language detection for tutorial (was: set-locale-environement: strange default detection) Sascha Wilde
2007-07-22 15:41 ` Andreas Schwab
2007-07-22 15:44 ` Better language detection for tutorial David Kastrup
2007-07-22 23:16 ` Andreas Schwab
2007-07-22 20:20 ` Sascha Wilde
2007-07-23 3:11 ` Eli Zaretskii
2007-07-23 9:25 ` Sascha Wilde
2007-07-23 19:29 ` Eli Zaretskii
2007-07-23 20:29 ` Sascha Wilde
2007-07-23 20:38 ` David Kastrup
2007-07-24 6:18 ` Eli Zaretskii
2007-07-24 7:17 ` Kenichi Handa
2007-07-24 7:36 ` Eli Zaretskii
2007-07-24 7:53 ` Kenichi Handa
2007-07-24 18:45 ` Eli Zaretskii
2007-07-25 1:01 ` Kenichi Handa
2007-07-25 3:14 ` Eli Zaretskii
2007-07-25 4:48 ` Kenichi Handa
2007-07-25 19:24 ` Eli Zaretskii
2007-07-26 2:29 ` Kenichi Handa
2007-07-26 11:40 ` Eli Zaretskii
2007-07-26 12:19 ` Kenichi Handa
2007-07-26 12:25 ` Eli Zaretskii
2007-07-26 12:54 ` Kenichi Handa
2007-07-20 17:42 ` set-locale-environement: strange default detection Reiner Steib
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=469DF3CA.4040704@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=dak@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=thomas@intevation.de \
--cc=wilde@sha-bang.de \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.