Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Knoppix upgrade changes English to German

  1. #1
    Senior Member registered user
    Join Date
    Nov 2002
    Posts
    1,353

    Knoppix upgrade changes English to German

    I recently added the Knoppix developers repistories to my /etc/apt/sources.list.

    My problem is that after doing an apt-get update and apt-get upgrade, my shell is in German. I did an update to xmms and it's gui menu is now also in german. Most other console based programs that I have run are now in German too. Anyone else run into this, and if so is there a solution?

    Thanks,

    Adam

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Posts
    1,353
    Gaim is also in German now. This is nuts. Ideas anyone?

  3. #3
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Have you tried dpkg-reconfigure locales it looks like it may have been set to German somehow. Also you can override the settings by putting:
    Code:
    LANG=en_US
    export LANG
    In your .bash_profile or .bashrc you may also want to check in /etc/enviroment to see what is set too there and IIRC there is something in /etc/profile to do with the language in German for the shell.

  4. #4
    Senior Member registered user
    Join Date
    Nov 2002
    Posts
    1,353
    Quote Originally Posted by Stephen
    Have you tried dpkg-reconfigure locales it looks like it may have been set to German somehow. Also you can override the settings by putting:
    Code:
    LANG=en_US
    export LANG
    In your .bash_profile or .bashrc you may also want to check in /etc/enviroment to see what is set too there and IIRC there is something in /etc/profile to do with the language in German for the shell.
    Stephen I ran dpkg-reconfigure locales and that didn't seem to help. I also looked in /etc/enviroment andthere was just one line: LANG=en_US so that doesn't appear to be the problem.

    Your third suggestion seems to be hitting the mark though. I'm pasting in my /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"
    [ "$UID" = "0" ] || PATH="$PATH:."
    export PATH
    # Set LOCALE
    if [ -f /etc/sysconfig/i18n ]; then
        . /etc/sysconfig/i18n
        [ -n "$LANG" ] || LANG="de_DE@euro"
        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
    TTY=$(tty)
    TTY=${TTY##*/}
    [ -n "$TTY" ] && PS1="\[\]\u@$TTY[\W]\\$\[\] " || PS1="\[\][\W]\u\[\] "
    alias ..="cd .."
    alias which="type -path"
    alias where="type -all"
    alias ll="ls -l --color=auto"
    alias l="ls -a --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"
    # This is very KNOPPIX-specific
    alias su="sudo su"
    As you can see, the problem seems to be here:
    Code:
     [ -n "$LANG" ] || LANG="de_DE@euro"
        export LANG
    What do you have for that line?

    Thanks

  5. #5
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    I've got Bonzai Linux on here now which is basically an install of Woody, which I have taken to SID, without the pain of going through a normal install but in the backup of /etc from knoppix I have it just has the same as yours except it has LANG="de_DE" I would change it to en_US just to give it a try and see if it works. You never mentioned did you edit the .bash rc or profile to try and override the default that has been set to German also I take it you did do the obvious and checked the Regional & Accessibility to make sure the language is set properly there. You may also want to check the . directory's files for xmms and gaim to see if anything is being set there.

    [edit]
    Just had another thought remove all the kde-i18n-* locales and it has to default to C or POSIX which will give you an English default locale.
    [/edit]

  6. #6
    Senior Member registered user
    Join Date
    Nov 2002
    Posts
    1,353
    Quote Originally Posted by Stephen
    I've got Bonzai Linux on here now which is basically an install of Woody, which I have taken to SID, without the pain of going through a normal install but in the backup of /etc from knoppix I have it just has the same as yours except it has LANG="de_DE" I would change it to en_US just to give it a try and see if it works. You never mentioned did you edit the .bash rc or profile to try and override the default that has been set to German
    Yes I did this and it didn't help.

    Quote Originally Posted by Stephen

    also I take it you did do the obvious and checked the Regional & Accessibility to make sure the language is set properly there. You may also want to check the . directory's files for xmms and gaim to see if anything is being set there.
    Checked these and there really aren't any defaults to adjust. Plus I wouldn't want to do this for every gnome/gtk app - which seem to be the only ones affected by this.
    Quote Originally Posted by Stephen

    [edit]
    Just had another thought remove all the kde-i18n-* locales and it has to default to C or POSIX which will give you an English default locale.
    [/edit]
    Well, would this last suggestion really help seeing that nothing in KDE is giving me any problems - only gtk based apps.

    Hmm. This is turning out to be a tough nut to crack, but I have made some progress.

    First of all, even though I have allready edited /etc/profile as indicated above, I added an additional line export LC_ALL=C after the if/then statement.

    That brought good results. My shell now is back to English.

    But all the gnome/gtk apps are still in German.

    I think I know why though.

    Here is my /etc/sysconfig/i18n
    Code:
    LANG="de_DE@euro"
    COUNTRY="de"
    LANGUAGE="de"
    CHARSET="iso8859-15"
    XMODIFIERS=""
    I changed it to:

    Code:
    LANG="en_US"
    COUNTRY="en"
    LANGUAGE="en"
    CHARSET="iso8859-15"
    XMODIFIERS=""
    After I restarted X, this fixed the problem.

    But unfortunately when I added the repositories listed in my first post in this thread and did an apt-get update, apt-get upgrade, this kind of brought my hdinstall back to more of a CD based version of Knoppix. All hardware detection, probing, etc is performed whenever I reboot. I even see the detection progress bar that normally only accompanies the CD version.

    An effect of this is that /etc/sysconfig/i18n is rewritten with the German defaults whenever I reboot.

    I tried appending the lang=us option to lilo, but that doesn't seem to do anything. So I guess now I either find the script that is updating /etc/sysconfig/i18n and modify it or I come up with some sort of hack to overwrite /etc/sysconfig/i18n with English defaults somewhere in the boot process. Thanks for sticking with me on this one. It's been a real pain. Suggestions still welcome.

  7. #7
    Senior Member registered user
    Join Date
    Nov 2002
    Posts
    1,353
    Ok Stephen I've gotten a fix. It's not the most elegant thing in the world but it works.

    Like I said /etc/sysconfig/i18n keeps on being rewritten with the german defaults, but thankfully the English defaults that I loaded are saved as /etc/sysconfig/i18n.save before the file is overwritten.

    So I added the following lines to /etc/init.d/bootmisc.sh

    rm -rf /etc/sysconfig/i18n
    cp /etc/sysconfig/i18n.save /etc/sysconfig/i18n
    chmod +r /etc/sysconfig/i18n

    This essentially fixes the problem. Like I said not the most elegant solution, but it works. Thanks for your help.

  8. #8
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    [quote="aay"]


    But unfortunately when I added the repositories listed in my first post in this thread and did an apt-get update, apt-get upgrade, this kind of brought my hdinstall back to more of a CD based version of Knoppix. All hardware detection, probing, etc is performed whenever I reboot. I even see the detection progress bar that normally only accompanies the CD version.
    Interesting side effect for those people who complain that they want the HD install to be more like the CD as long as they could figure out how to get it to a language other than German.

    And there I had this reply all set to post and I previewed it about to suggest just about the same thing and seen your reply I chopped most of it out although I would still suggest a post to the developers list someone has to know which file you need to edit.

  9. #9
    Senior Member registered user
    Join Date
    Apr 2003
    Location
    Iowa U.S.A.
    Posts
    226
    Hi All

    I don't know much. But could the following help?:

    At KNOPPIX root the variable for
    the programming language is LANG

    echo $LANG
    C

    your speaking language variable is LANGUAGE so

    echo $LANGUAGE
    de
    export LANGUAGE=us

    Best Wishes
    paradocs

  10. #10
    Senior Member registered user
    Join Date
    Nov 2002
    Posts
    1,353
    Good idea. I'll try and get a note off to them.

Page 1 of 2 12 LastLast

Similar Threads

  1. knoppix console is mixture of English and German
    By jariep in forum General Support
    Replies: 1
    Last Post: 02-12-2005, 09:26 AM
  2. knoppix 3.7 german to english
    By sonicdragon14 in forum General Support
    Replies: 8
    Last Post: 12-08-2004, 04:16 PM
  3. Help! Mixed English and German?
    By Jack_ in forum Hdd Install / Debian / Apt
    Replies: 8
    Last Post: 06-01-2004, 09:30 AM
  4. Converting german to english
    By chronictoker420 in forum General Support
    Replies: 7
    Last Post: 05-02-2004, 11:20 PM
  5. german logins... i speak english, help
    By Chris in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 02-11-2003, 01:30 AM

Posting Permissions

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


KNOPPIX 9.1 Linux Install & Live DVD 32bit & 64bit picture

KNOPPIX 9.1 Linux Install & Live DVD 32bit & 64bit

$19.99



Windows XP, Vista, 8.1, Linux Knoppix, Office XP,  (6 CDS) picture

Windows XP, Vista, 8.1, Linux Knoppix, Office XP, (6 CDS)

$12.00



KNOPPIX USB DVD OS , BEST OF ALL HIGHLY RECOMENDED picture

KNOPPIX USB DVD OS , BEST OF ALL HIGHLY RECOMENDED

$11.99



Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive picture

Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive

$5.99



Knoppix NSM 1.2 picture

Knoppix NSM 1.2

$8.00



VINTAGE SOFTWARE | KNOPPIX STD 0.1 (SECURITY TOOLS DISTRIBUTION) picture

VINTAGE SOFTWARE | KNOPPIX STD 0.1 (SECURITY TOOLS DISTRIBUTION)

$7.97



Hamshack Live DVD-ROM picture

Hamshack Live DVD-ROM

$7.00



Vintage Linux DVD - Knoppix 5.2 - c't Magazine - 7 / 2007 - Software Collection 2 picture

Vintage Linux DVD - Knoppix 5.2 - c't Magazine - 7 / 2007 - Software Collection 2

$8.03



Knoppix 5.0.1 ULTRA RARE Linux DVD - Linux Pro Extra August 2006 picture

Knoppix 5.0.1 ULTRA RARE Linux DVD - Linux Pro Extra August 2006

$34.42