Results 1 to 6 of 6

Thread: All my shells are in German (n00b question)

  1. #1
    Junior Member
    Join Date
    Jun 2004
    Posts
    4

    All my shells are in German (n00b question)

    Not that there's anything wrong with that.. I just can't read it.
    After a mostly successful HDD install, everything is working, however when in a shell MAN pages, shell errors, etc. are in German. I'm pretty sure that they were in English at one time, then for some reason I booted to the Knoppix CD and I beleive that's when th e change happened. I am a newbie at this and any help would be greatly appreciated.

    here is a copy of /etc/profile
    Code:
    # /etc/profile
    umask 022
    PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/games"
    export PATH
    # Set LOCALE
    if [ -f /etc/sysconfig/i18n ]; then
        . /etc/sysconfig/i18n
        [ -n "$LANG" ] || LANG="de_DE"
        export LANG
        [ -n "$LC_CTYPE" ] && export LC_CTYPE || unset LC_CTYPE
        [ -n "$LC_COLLATE" ] && export LC_COLLATE || unset LC_COLLATE
        [ -n "$LC_MESSAGES" ] && export LC_MESSAGES || unset LC_MESSAGES
        [ -n "$LC_NUMERIC" ] && export LC_NUMERIC || unset LC_NUMERIC
        [ -n "$LC_MONETARY" ] && export LC_MONETARY || unset LC_MONETARY
        [ -n "$LC_TIME" ] && export LC_TIME || unset LC_TIME
        [ -n "$LC_ALL" ] && export LC_ALL || unset LC_ALL
        [ -n "$LANGUAGE" ] && export LANGUAGE || unset LANGUAGE
        [ -n "$LINGUAS" ] && export LINGUAS || unset LINGUAS
        [ -n "$_XKB_CHARSET" ] && export _XKB_CHARSET || unset _XKB_CHARSET
    
        if [ -n "$SYSFONTACM" ]; then
            case $SYSFONTACM in
                iso01*|iso02*|iso15*|koi*|latin2-ucw*)
                    if [ "$TERM" = "linux" ]; then
                        if ls -l /proc/$$/fd/0 2>/dev/null | grep -- '-> /dev/tty[0-9]*$' >/dev/null 2>&1; then
                            echo -n -e '\033(K' > /proc/$$/fd/0
                        fi
                    fi
                    ;;
            esac
        fi
        unset SYSFONTACM
    fi
    # END LOCALE
    # enable bash completion in interactive shells
    [ "$PS1" -a -f /etc/bash_completion ] && . /etc/bash_completion
    PS1="\u@\h:\w\\$ "
    alias which="type -path"
    alias where="type -all"
    alias ll="ls -l --color=auto"
    alias rm="rm -i"
    alias mv="mv -i"
    alias cp="cp -i"
    alias la="ls -la --color=auto"
    alias ls="ls --color=auto"
    after looking at this i noticed the line:
    Code:
    [ -n "$LANG" ] || LANG="de_DE"
    is that the sole source of my problem, as this happens on all users?
    If it is, what would I change it to? "us_US" ?

    Thanks
    k0rrupt

  2. #2
    Junior Member
    Join Date
    Jun 2004
    Posts
    4
    Well, I made the change in the /etc/profile file as noted in the previous post, and I still have the same problem.

  3. #3

  4. #4
    Junior Member
    Join Date
    Jun 2004
    Posts
    4
    I edited the knoppix-autoconfig as follows:
    Code:
    ### localization
    # Allow language specification via commandline. The default language
    # will be overridden via "lang=de" boot commandline
    LANGUAGE="$(getbootparam lang 2>/dev/null)"
    [ -n "$LANGUAGE" ] || LANGUAGE="us"
    and rebooted, to no avail
    temporary fix seems to be adding:
    Code:
    LANG=C
    to my main user's .bashrc file
    I did notice that there are several other changes made that also may have effected final outcome.
    Thanks for the suggestions
    k0rrupt

  5. #5
    Junior Member
    Join Date
    Jun 2004
    Posts
    4
    Resolved!
    Seems that editing both

    /etc/sysconfig/in18n
    Code:
    LANG="C"
    COUNTRY="us"
    LANGUAGE="us"
    CHARSET="iso8859-15"
    XMODIFIERS=""
    and
    etc/init.d/knoppix-autoconfig
    Code:
    ### localization
    # Allow language specification via commandline. The default language
    # will be overridden via "lang=de" boot commandline
    LANGUAGE="$(getbootparam lang 2>/dev/null)"
    [ -n "$LANGUAGE" ] || LANGUAGE="us"
    has resolved this issue. woohoo!
    Thanks for the point in the right direction, uraclea2002

  6. #6
    Member registered user
    Join Date
    May 2004
    Posts
    33
    Glad I could be of help

Similar Threads

  1. Serious n00b question
    By gburke1 in forum Networking
    Replies: 1
    Last Post: 04-09-2005, 03:39 AM
  2. n00b console question
    By Dr._Who in forum General Support
    Replies: 3
    Last Post: 03-08-2005, 08:35 AM
  3. Replies: 3
    Last Post: 10-05-2004, 03:30 AM
  4. Ultra n00b question
    By squee in forum General Support
    Replies: 5
    Last Post: 03-29-2004, 05:27 AM
  5. n00b question about booting :D
    By scottdavies2k in forum General Support
    Replies: 1
    Last Post: 09-01-2003, 08:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping* picture

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*

$18.00



New HP HPE Aruba J4858D 1G SFP LC SX 850nm  500m MMF XCVR Transceiver Module picture

New HP HPE Aruba J4858D 1G SFP LC SX 850nm 500m MMF XCVR Transceiver Module

$28.49



For Cisco SFP-10G-T, Ubiquiti UF-RJ45-10G Transceiver, SFP+ to RJ45 10GBase-T picture

For Cisco SFP-10G-T, Ubiquiti UF-RJ45-10G Transceiver, SFP+ to RJ45 10GBase-T

$45.07



New Cisco SFP-25G-SR-S 25G SFP28 25GBASE-SR 850nm 300m LC MMF Transceiver Module picture

New Cisco SFP-25G-SR-S 25G SFP28 25GBASE-SR 850nm 300m LC MMF Transceiver Module

$51.30



GENUINE Cisco SFP-10G-SR V03 SFP+ GBIC Transceiver Module 10-2415-03 picture

GENUINE Cisco SFP-10G-SR V03 SFP+ GBIC Transceiver Module 10-2415-03

$6.80



🔥🔥🔥 CISCO SFP-10G-SR V03 10-2415-03 850nm 10GBASE-SR SFP+ Multi Module 🔥🔥🔥 picture

🔥🔥🔥 CISCO SFP-10G-SR V03 10-2415-03 850nm 10GBASE-SR SFP+ Multi Module 🔥🔥🔥

$6.80



Cisco GLC-LH-SMD Transceiver Module SFP 10-2625-01  picture

Cisco GLC-LH-SMD Transceiver Module SFP 10-2625-01

$14.25



HP 10Gb SR SFP+ 10GBASE-SR 455885-001 10Gigabit Ethernet Transceiver 456096-001 picture

HP 10Gb SR SFP+ 10GBASE-SR 455885-001 10Gigabit Ethernet Transceiver 456096-001

$6.99



New Precision DWDM SFP+ 10G 80km Tunable Transceiver 50GHz C-Temp DWDM-SFP10G-C picture

New Precision DWDM SFP+ 10G 80km Tunable Transceiver 50GHz C-Temp DWDM-SFP10G-C

$90.00



Dell X1018 X-Series Smart Managed Switches 16-Port Gigabit 2-Port SFP Switch picture

Dell X1018 X-Series Smart Managed Switches 16-Port Gigabit 2-Port SFP Switch

$42.00