On Tuesday 08 May 2007 22:43:32 Allin Cottrell wrote:
On Mon, 7 May 2007, Ignacio Diaz-Emparanza wrote:
> I repeated your steps, and run the suggested commands, obtaining the
> following...
I have made a few changes in CVS after studying the output you
sent.
I'm still sowewhat baffled by Ubuntu's handling of locales, but
maybe the changes will help.
Allin.
_______________________________________________
Allin, I reinstalled Gretl from the CVS and repeated again the steps you
mentioned in your message some days ago, and run the suggested commands.
I obtained the following:
> LANGUAGE=spanish gretl
>
> -- I get the Spanish translation, but not the decimal comma.
The same.
> LANG=spanish gretl
>
> -- English strings plus decimal comma
I obtain the error:
(gretl_x11:6261): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
and gretl appears in english.
> LANGUAGE=spanish LANG=spanish
>
> -- (expected by now) Spanish strings plus decimal comma.
The same error:
(gretl_x11:6270): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
and gretl working in english.
> LANGUAGE=spanish LC_ALL=spanish
This changed from what happened some days before, now I obtain gretl running
in Spanish, but the decimals are not commas.
> LANGUAGE=spanish LC_NUMERIC=spanish gretl
>
> -- Spanish strings, no decimal comma (this seems to me to be
> broken).
Now the same error is displayed, but gretl appears IN SPANISH:
(gretl_x11:6292): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Gretl working in english
> 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
LANG=es_ES gretl
(gretl_x11:6301): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
And gretl appears in English.
> 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.
I can see no error when executing "gretl --english" (or gretl -e) but gretl
appears in Spanish.
Thi is corrected now, the command "gretl --english" (or gretl -e) produces
Gretl running in English, and no error message.
--
Ignacio Diaz-Emparanza
DEPARTAMENTO DE ECONOMÍA APLICADA III (ECONOMETRÍA Y ESTADÍSTICA)
UPV/EHU
Avda. Lehendakari Aguirre, 83 | 48015 BILBAO
T.: +34 946013732 | F.: +34 946013754
www.et.bs.ehu.es