Announcement

Collapse
No announcement yet.

Konsole language_Hungarian_bash

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

    Konsole language_Hungarian_bash

    I am running 20.04 Focal Fossa.

    For some unknown reason the language in the konsole output has become partly Hungarian and partly English.
    I have a keyboard setting for Hungarian but my language settings are all default for American English under all the listed categories.
    When using the konsole I never use the Hungarian keyboard setting.

    I have noticed also that on saving a photo, that the Hungarian word, kép=photo, appears beside the file type when using Save As: X.jpeg-kép.


    howard@Ksnow-White:~$ sudo apt update
    [sudo] howard jelszava:
    Találat:1 http://gb.archive.ubuntu.com/ubuntu focal InRelease
    Letöltés:2 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
    Találat:3 http://ppa.launchpad.net/rodsmith/refind/ubuntu focal InRelease
    Letöltés:4 http://gb.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
    Letöltés:5 http://gb.archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
    Találat:6 https://repo.protonvpn.com/debian unstable InRelease
    Letöltés:7 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [
    40.8 kB]
    Letöltés:8 http://security.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metada
    ta [94.1 kB]
    Letöltés:9 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 DEP-11 Meta
    data [940 B]
    Letöltés:10 http://gb.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [2,265
    kB]
    Letöltés:11 http://gb.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [761 kB
    ]
    Letöltés:12 http://gb.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata
    [275 kB]
    Letöltés:13 http://gb.archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata
    [16.1 kB]
    Letöltés:14 http://gb.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1
    ,009 kB]
    Letöltés:15 http://gb.archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [70
    5 kB]
    Letöltés:16 http://gb.archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Meta
    data [407 kB]
    Letöltés:17 http://gb.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Me
    tadata [940 B]
    Letöltés:18 http://gb.archive.ubuntu.com/ubuntu focal-backports/main amd64 DEP-11 Metada
    ta [7,996 B]
    Letöltés:19 http://gb.archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Me
    tadata [30.6 kB]
    Letöltve 5,949 kB 1mp alatt (4,743 kB/s)
    Csomaglisták olvasása... Kész
    Függőségi fa építése
    Állapotinformációk olvasása... Kész
    All packages are up-to-date.
    howard@Ksnow-White:~$

    I would be grateful for advice. I can live with it unless the Hungarian becomes complicated, in which case I could easily miss an important message.

    Last edited by JoHubb; Dec 07, 2022, 02:58 PM.

    #2
    Has no one any ideas?

    Comment


      #3
      Originally posted by JoHubb View Post
      Has no one any ideas?
      An obvious way this would happen is a locale setting in the boot process. I suggest running locale in a konsole; it will show a list of environment variable names. Normally only LANG and maybe LANGUAGE are set, but others may be. If any are, and you don't like the setting, you can search for where they are being set. Files to check:
      • .bashrc
      • .profile
      • /etc/profile
      • /etc/environment
      • any file in ~/.config/plasma-workspace/env
      Regards, John Little

      Comment


        #4
        Don't discount the possibility of incomplete/broken/missing translations somehow, assuming that this is not a new phenomenon.

        However, I don't see this specific string missing in apt's translations. Nor do I as of yet see it actually translated, so maybe I am looking in the wrong places?
        Ex: https://translations.launchpad.net/u...w=untranslated

        More squirrels and rabbit holes:
        https://translations.launchpad.net/u.../+translations

        Comment


          #5
          Thanks to both.

          I ran locale already but it didn't help much.

          As far as I understand it, the :hu in the second line of output refers to the keyboard only, since the language is en_GB.

          howard@Ksnow-White:~$ locale
          LANG=en_GB.UTF-8
          LANGUAGE=en_GB:hu
          LC_CTYPE="en_GB.UTF-8"
          LC_NUMERIC="en_GB.UTF-8"
          LC_TIME="en_GB.UTF-8"
          LC_COLLATE="en_GB.UTF-8"
          LC_MONETARY="en_GB.UTF-8"
          LC_MESSAGES="en_GB.UTF-8"
          LC_PAPER="en_GB.UTF-8"
          LC_NAME="en_GB.UTF-8"
          LC_ADDRESS="en_GB.UTF-8"
          LC_TELEPHONE="en_GB.UTF-8"
          LC_MEASUREMENT="en_GB.UTF-8"
          LC_IDENTIFICATION="en_GB.UTF-8"
          LC_ALL=
          howard@Ksnow-White:~$
          I'll check those files next before diving into any rabbit holes...





          Comment


            #6
            A couple of my neurons finally made contact, and I've recalled I've had a problem similar to yours. When I release upgraded to 20.04, in 2020, a lot of applications, including vim, started using French. (I have only learned French at school, and I was at school a very long time ago). I tried a lot of fixes and only deleting "Français" from the language list got me back to English in all apps.

            I suggest adding a new user, to see if the problem occurs for that user. If it does maybe a clean install would be a good idea. (Back in 2020, their were other problems as well, so did a clean install, alongside the upgraded focal in the same btrfs, and that took several weeks to completely reinstall and reconfigure everything, and I ended up regretting doing it; but as usual by the time the regrets set in I was committed to new approach.)
            Regards, John Little

            Comment


              #7
              I added a new user. The problem went away. When I ran locale as the new user there was no reference to hu in the output.

              When I added a Hungarian keyboard layout and ran locale again, there was no reference to hu in the output.

              Now, for it!

              Logging in as howard, the original user, I ran sudo apt update in konsole. Hungarian all gone!

              I ran locale again:

              howard@Ksnow-White:~$ locale
              LANG=en_GB.UTF-8
              LANGUAGE=en_GB:en_US
              LC_CTYPE="en_GB.UTF-8"
              LC_NUMERIC="en_GB.UTF-8"
              LC_TIME="en_GB.UTF-8"
              LC_COLLATE="en_GB.UTF-8"
              LC_MONETARY=en_GB.UTF-8
              LC_MESSAGES="en_GB.UTF-8"
              LC_PAPER="en_GB.UTF-8"
              LC_NAME="en_GB.UTF-8"
              LC_ADDRESS="en_GB.UTF-8"
              LC_TELEPHONE="en_GB.UTF-8"
              LC_MEASUREMENT="en_GB.UTF-8"
              LC_IDENTIFICATION="en_GB.UTF-8"
              LC_ALL=
              howard@Ksnow-White:~$

              No reference to en_GB:hu as before.

              Thanks for your help, jlittle. The problem seems to have gone away. I am not sure why or how...one of life's many mysteries.
              Last edited by JoHubb; Dec 13, 2022, 02:33 PM.

              Comment

              Working...
              X