[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#166979: Locales simply wont work



Subject: locales: Locales simply wont work
Package: locales
Version: 2.3.1-3
Severity: normal

*** Please type your report below this line ***

reportbug doesnt work, so i'm mailing by hand.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux server 2.4.20-pre9 #5 Thu Oct 17 23:30:20 ART 2002 i686
Locale: LANG=en_US, LC_CTYPE=en_US (ignored: LC_ALL set)

Versions of packages locales depends on:
ii  debconf                       1.2.12     Debian configuration management sy
ii  libc6 [glibc-2.3.1-3]         2.3.1-3    GNU C Library: Shared libraries an

-- debconf information:
* locales/default_environment_locale: en_US
* locales/locales_to_be_generated: en_US ISO-8859-1, en_US.UTF-8 UTF-8, es_AR ISO-8859-1, es_ES ISO-8859-1, es_ES@euro ISO-8859-15, ja_JP.EUC-JP EUC-JP, ja_JP.UTF-8 UTF-8


server:~# cat /etc/locale.gen 
en_US ISO-8859-1
en_US.UTF-8 UTF-8
es_AR ISO-8859-1
es_ES ISO-8859-1
es_ES@euro ISO-8859-15
ja_JP.EUC-JP EUC-JP
ja_JP.UTF-8 UTF-8

Then i run

server:~# locale-gen
Generating locales...
en_US.ISO-8859-1... done
en_US.UTF-8... done
es_AR.ISO-8859-1... done
es_ES.ISO-8859-1... done
es_ES.ISO-8859-15@euro... done
ja_JP.EUC-JP... done
ja_JP.UTF-8... done

And finally...

server:~# locale -a
C
POSIX
en_US


The locales I configured wont show?
The same happens using "dpkg-reconfigure locales" too.

here's another test:

server:~# export LC_ALL=en_US
server:~# rm
rm: too few arguments
Try `rm --help' for more information.

now

server:~# export LC_ALL=es_ES
server:~# rm
rm: too few arguments
Try `rm --help' for more information.

It wont get translated.. and look:

server:~# ls /usr/share/locale/es/LC_MESSAGES/coreutils.mo 
/usr/share/locale/es/LC_MESSAGES/coreutils.mo

Those are installed and all.


Am I doing anything wrong?

Juan Linietsky



Reply to: