Re: set language in bash
On Mon, Jul 18, 2005 at 12:28:56AM -0400, Kevin Mark wrote:
> this is my 'locale' info:
> LANG=en_US
> LC_CTYPE="en_US"
> LC_NUMERIC="en_US"
> LC_TIME="en_US"
> LC_COLLATE="en_US"
If you have LC_COLLATE=C then the output of ls -al is easier to follow.
> LC_MONETARY="en_US"
> LC_MESSAGES="en_US"
> LC_PAPER="en_US"
> LC_NAME="en_US"
> LC_ADDRESS="en_US"
> LC_TELEPHONE="en_US"
> LC_MEASUREMENT="en_US"
> LC_IDENTIFICATION="en_US"
> LC_ALL=
>
> So IIUC, doing this should make 'spanish' mesages:
> kevin@debian:~/DOCUMENTS/IMAGES/DIA$ LC_MESSAGES="es_ES" ls ddd
> ls: ddd: No existe el fichero o el directorio
>
> So IIUC, doing this should make 'spanish' mesages:
> kevin@debian:~/DOCUMENTS/IMAGES/DIA$ LC_MESSAGES="es_US" ls ddd
> ls: ddd: No such file or directory
nice
chrisb@kan:~$ LC_MESSAGES="es_ES" ls -al | less
total 25864
[...]
oh well :-)
--
Chris.
======
Reproduction if desired may be handled locally. -- rfc3
Reply to: