On Fri, 4 May 2007, Ignacio Diaz-Emparanza wrote:
It seems in the last CVS versions something is wrong because if
I select "Use locale settings for decimal point" and
reinitialize gretl, I see decimal points instead of decimal
commas (but the format of the ols output is different than
unselecting this tickmark).
Apart from this I confirm that "gretl --english" (or gretl -e)
is not working, I always obtain gretl running in Spanish.
I've now experimented on Ubuntu 7.04, and I have to say I do not
understand how Ubuntu handles languages. Here's what I get,
typing the following commands in an xterm (with the locale decimal
character selected in gretl):
LANGUAGE=spanish gretl
-- I get the Spanish translation, but not the decimal comma.
LANG=spanish gretl
-- English strings plus decimal comma
LANGUAGE=spanish LANG=spanish
-- (expected by now) Spanish strings plus decimal comma.
LANGUAGE=spanish LC_ALL=spanish
-- same as above.
LANGUAGE=spanish LC_NUMERIC=spanish gretl
-- Spanish strings, no decimal comma (this seems to me to be
broken).
For comparison, on my own (non-Ubuntu, originally derived from
Slackware) Linux system I get Spanish strings and also the
decimal comma using
LANG=es_ES gretl
As for the -e or --english option, I can't replicate the problem.
In all cases where I get gretl to come up in Spanish, I can
prevent that by appending -e to the command line.
Can anyone else shed any light on this -- maybe try some
experiments and report the results?
Allin.