Hi,
i've some trouble with locale. I can't change the output from the binary 'date' 
with locale. I always get the english representation:
        # date
        Tue Sep  6 13:38:07 UTC 2011


I've done the following steps to get the german representation till now:

1. I downloaded the following packages with 'opkg install' to get the needed 
programs:

        glibc-utils - 2.9-r37.4.6 - glibc: misc utilities like local ...
        localedef - 2.9-r37.4.6 - glibc: compile locale definition files

and the following packages for UTF-8 and de_DE support:

        glibc-localedata-de-de - 2.9-r37.4.6 - locale definition for de-de
        glibc-charmap-utf-8 - 2.9-r37.4.6 - character map for utf-8 encoding

2. After the packages were installed, i generate some locale files with 
localedef:
        ~# localedef -c -v -f /usr/share/i18n/charmaps/UTF-8 -i 
/usr/share/i18n/locales/de_DE de_DE.utf8

3. The output of 'locale -a' is now:
        ~# locale -a
        C
        de_DE.utf8
        POSIX

4. Next, i added the following lines to /etc/profile:
        export LC_ALL="de_DE.UTF-8"
        export LANG="de_DE.UTF-8"

5. After a reboot, i check my locale variables:
        ~# locale
        LANG=de_DE.UTF-8
        LC_CTYPE="de_DE.UTF-8"
        LC_NUMERIC="de_DE.UTF-8"
        LC_TIME="de_DE.UTF-8"
        LC_COLLATE="de_DE.UTF-8"
        LC_MONETARY="de_DE.UTF-8"
        LC_MESSAGES="de_DE.UTF-8"
        LC_PAPER="de_DE.UTF-8"
        LC_NAME="de_DE.UTF-8"
        LC_ADDRESS="de_DE.UTF-8"
        LC_TELEPHONE="de_DE.UTF-8"
        LC_MEASUREMENT="de_DE.UTF-8"
        LC_IDENTIFICATION="de_DE.UTF-8"
        LC_ALL=de_DE.UTF-8

and do another check:
        ~# locale -k LC_TIME
        abday="So;Mo;Di;Mi;Do;Fr;Sa"
        day="Sonntag;Montag;Dienstag;Mittwoch;Donnerstag;Freitag;Samstag"
        abmon="Jan;Feb;Mär;Apr;Mai;Jun;Jul;Aug;Sep;Okt;Nov;Dez"
        
mon="Januar;Februar;März;April;Mai;Juni;Juli;August;September;Oktober;November;Dezember"
        ...
        time-codeset="UTF-8"



What am i missing? I can't get the german representation of the 'date' output. 
Thanks in advance.
-- 
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!               
Jetzt informieren: http://www.gmx.net/de/go/freephone

_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel

Reply via email to