[GRASS-dev] Messing with locale during start-up in r53620
Moritz Lennert
mlennert at club.worldonline.be
Tue Nov 13 09:13:25 PST 2012
On Mon, November 12, 2012 18:41, Maris Nartiss wrote:
> Hello,
> OK, I missed the bashrc change, still it seems that GRASS is
> interfering with locale where it shouldn't:
I get a similar issue in releasebranch64 (I tried to post this as a
ticket, but trac just keeps loging me out each time I try to submit...):
grass64_releasebranch, r53787, fresh checkout and compile
My locale settings:
{{{
$ locale
LANG=fr_BE.UTF-8
LANGUAGE=
LC_CTYPE="fr_BE.UTF-8"
LC_NUMERIC="fr_BE.UTF-8"
LC_TIME="fr_BE.UTF-8"
LC_COLLATE="fr_BE.UTF-8"
LC_MONETARY="fr_BE.UTF-8"
LC_MESSAGES="fr_BE.UTF-8"
LC_PAPER="fr_BE.UTF-8"
LC_NAME="fr_BE.UTF-8"
LC_ADDRESS="fr_BE.UTF-8"
LC_TELEPHONE="fr_BE.UTF-8"
LC_MEASUREMENT="fr_BE.UTF-8"
LC_IDENTIFICATION="fr_BE.UTF-8"
LC_ALL=
}}}
First launch of GRASS (i.e. no .grassrc6 file present), I get the GUI in
French and the following locale settings in the GRASS terminal:
{{{
~ > locale
LANG=fr_BE.UTF-8
LANGUAGE=fr_BE.UTF-8
LC_CTYPE="fr_BE.UTF-8"
LC_NUMERIC="fr_BE.UTF-8"
LC_TIME="fr_BE.UTF-8"
LC_COLLATE="fr_BE.UTF-8"
LC_MONETARY="fr_BE.UTF-8"
LC_MESSAGES="fr_BE.UTF-8"
LC_PAPER="fr_BE.UTF-8"
LC_NAME="fr_BE.UTF-8"
LC_ADDRESS="fr_BE.UTF-8"
LC_TELEPHONE="fr_BE.UTF-8"
LC_MEASUREMENT="fr_BE.UTF-8"
LC_IDENTIFICATION="fr_BE.UTF-8"
LC_ALL=
}}}
When I exit GRASS and relaunch it, I get the GUI in English and the
following locale settings in the GRASS terminal:
{{{
~ > locale
LANG=
LANGUAGE=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
}}}
When I exit GRASS again, erase .grassrc6 and then relaunch grass, I'm back
to the French GUI and fr_BE.UTF-8 locale. But next relaunch back to
English and Posix.
Moritz
More information about the grass-dev
mailing list