Announcement

Collapse
No announcement yet.

Problem setting the language to german

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [DESKTOP] Problem setting the language to german

    Hi,

    I have installed Kubuntu in german but after adding thunderbird and firefox, I found thunderbird to be in english.
    Then I tampered with the locale and now I cannot set the systemlanguage to german again.

    whatever I do, after I give "locale" in a terminal, I get

    locale: Cannot set LC_CTYPE to default locale: No such file or directory
    locale: Cannot set LC_MESSAGES to default locale: No such file or directory
    locale: Cannot set LC_ALL to default locale: No such file or directory
    LANG=en_AT.UTF-8
    LANGUAGE=de:en_US
    LC_CTYPE="en_AT.UTF-8"
    LC_NUMERIC=de_AT.UTF-8
    LC_TIME=de_AT.UTF-8
    LC_COLLATE="en_AT.UTF-8"
    LC_MONETARY=de_AT.UTF-8
    LC_MESSAGES="en_AT.UTF-8"
    LC_PAPER="en_AT.UTF-8"
    LC_NAME="en_AT.UTF-8"
    LC_ADDRESS="en_AT.UTF-8"
    LC_TELEPHONE="en_AT.UTF-8"
    LC_MEASUREMENT=de_AT.UTF-8
    LC_IDENTIFICATION="en_AT.UTF-8"
    LC_ALL=

    I do not have a locale called en_AT, cannot explain from where it came.

    Does anyone have an idea on how to reset the system to de_AT.UTF-8
    so that all programs use german like on my 16.04 desktop.

    trying to re-install with synaptics gives

    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    LANGUAGE = "de:en_US",
    LC_ALL = (unset),
    LC_TIME = "de_AT.UTF-8",
    LC_MONETARY = "de_AT.UTF-8",
    LC_NUMERIC = "de_AT.UTF-8",
    LANG = "en_AT.UTF-8"
    are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    locale: Cannot set LC_CTYPE to default locale: No such file or directory
    locale: Cannot set LC_MESSAGES to default locale: No such file or directory
    locale: Cannot set LC_ALL to default locale: No such file or directory
    debconf: unable to initialize frontend: Gnome
    debconf: (Can't locate Gtk3.pm in @INC (you may need to install the Gtk3 module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Gnome.pm line 151, <> line 3.)
    debconf: falling back to frontend: Dialog
    debconf: unable to initialize frontend: Dialog
    debconf: (TERM is not set, so the dialog frontend is not usable.)
    debconf: falling back to frontend: Readline
    (Reading database ... 267059 files and directories currently installed.)
    Preparing to unpack .../language-pack-de_1%3a18.04+20180712_all.deb ...
    Unpacking language-pack-de (1:18.04+20180712) over (1:18.04+20180712) ...
    Preparing to unpack .../language-pack-kde-de_1%3a14.04+20140305.0ubuntu1_all.deb ...
    Unpacking language-pack-kde-de (1:14.04+20140305.0ubuntu1) over (1:14.04+20140305.0ubuntu1) ...
    Preparing to unpack .../kde-l10n-de_4%3a17.08.3-0ubuntu4_all.deb ...
    Unpacking kde-l10n-de (4:17.08.3-0ubuntu4) over (4:17.08.3-0ubuntu4) ...
    Setting up kde-l10n-de (4:17.08.3-0ubuntu4) ...
    Processing triggers for man-db (2.8.3-2) ...
    Setting up language-pack-de (1:18.04+20180712) ...
    Setting up language-pack-kde-de (1:14.04+20140305.0ubuntu1) ...

    --------------------------------------------------------------------------------------

    Even if I have to install new, that is no problem.
    I would like to demonstrate to some normal users how easy it is to use linux.
    I never before had trouble to set the language, so I guess I just oversee what must be done.

    Regards,
    Jan

    #2
    The Problem seems to be in:

    home/.config/plasma-locale-settings.sh

    # Generated script, do not edit
    # Exports language-format specific env vars from startkde.
    # This script has been generated from kcmshell5 formats.
    # It will automatically be overwritten from there.
    export LANG=en_AT.UTF-8
    export LC_NUMERIC=de_AT.UTF-8
    export LC_TIME=de_AT.UTF-8
    export LC_MONETARY=de_AT.UTF-8
    export LC_MEASUREMENT=de_AT.UTF-8
    export LANGUAGE=de:en_US

    Now I just need to figure out where this script is generated . . . . . . .

    Comment


      #3
      Solved!

      in KDE I just had to choose

      Systemsettings - Formats
      and set the Region to Germany de_DE

      That was where "en_AT" was entered (I do not understand why it is there anyway),
      after changing that and logging off and on I had german back in all programs.

      Regards,
      Jan

      Comment

      Working...
      X