Announcement

Collapse
No announcement yet.

Wrong language in AM/PM indicator used in login screen

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

    Wrong language in AM/PM indicator used in login screen

    This is a strange bug which I haven't had with Kubuntu before. The detailed settings option in the Numeric, Currency and Time Formats end up causing a lot of confusion since they switched to country selection instead of the units/formats themselves.

    Since the keyboard is affected, I've set my region to UK.

    My preferred desktop language in absolutely everything, from program dialogues to notifications, to time descriptions (month names in the calendar and the AM/PM indication) is British English.

    My preferred number format is 1.000,1 which is unlike the US-UK system so I've set that to Greek.

    My time zone is GMT+2 (Athens, GR), so I've set that to Greece as well.

    Currency is Euro so I've also set that to Greece.

    Measurement units should just be Imperial/Metric, I don't see why there should be a country selector here anyway but since I use metric I've also set that to Greece.

    Somehow, setting the time zone to Greece, causes the month names to switch to Greek and the AM/PM indication in both the dash clock and the login screen clock to switch to Greek even though all the relevant language settings are set to English. Setting the timezone to UK fixed the dash clock and month names but the login screen persists in using Greek.

    Do I need to edit some configuration file to fix that? It's pretty annoying and in general, I don't think that using countries instead of specific units/formats is a good idea. Just because you live somewhere (and operate in the local timezone) doesn't mean that you necessarily speak the local language or that you want to have the local language on your desktop even if you're local.

    #2
    I've run into similar problems using K15.10 and is yet another gripe I have with Plasma5. IIRC, in my case it was just that I wanted to change the digital clock AM/PM display to am/pm and I could not figure out any way to do that (relatively easy to do in KDE4). I fear this, and many other things about Plasma5 are a "dumbing down" of the DE which disappoints me.
    Desktop PC: Intel Core-i5-4670 3.40Ghz, 16Gb Crucial ram, Asus H97-Plus MB, 128Gb Crucial SSD + 2Tb Seagate Barracuda 7200.14 HDD running Kubuntu 18.04 LTS and Kubuntu 14.04 LTS (on SSD).
    Laptop: HP EliteBook 8460p Core-i5-2540M, 4Gb ram, Transcend 120Gb SSD, currently running Deepin 15.8 and Manjaro KDE 18.

    Comment


      #3
      Locales

      The KDE Frameworks 5 (KF5) is strictly following the freedesktop ( https://www.freedesktop.org/wiki/ ) and Qt ( https://en.wikipedia.org/wiki/Qt_(software) ) standards/specifications - so there are not so happy users: Bug 340982 - I cannot set my short date to YYYY-MM-DD, nor my time to HH:MM - https://bugs.kde.org/show_bug.cgi?id=340982


      Some workarounds:
      - Wrong time format in plasma5 lock screen: https://forum.kde.org/viewtopic.php?f=289&t=130484
      - How to set Monday as the first day of calendar widget?: https://forum.kde.org/viewtopic.php?f=66&t=131758

      With the login screen (are you using SDDM ?) you could edit the standard Breeze theme, install another theme or wrote own theme.
      Before you edit, BACKUP !

      Why there are dead links ?
      1. Thread: Please explain how to access old kubuntu forum posts
      2. Thread: Lost Information

      Comment


        #4
        Wrong language in day/month indication on login screen

        I am a USA person living in Thailand, but I cannot read Thai script. When installing 16.04, I set the language to US English. But Thai script shows up in many places; see the attachment, a picture I took of the login screen. I am guessing the script says Thursday and June, as I took the picture on Thursday 2 June 2016..

        I went into /etc/locale.gen, commented out the TH_th line, ran locale.gen, and the Thai script is still there.

        I had a similar problem with 14.04.

        My hope would that I could purge Thai script from all screens and dialogs, and that it would only show up when I open a file (writer, spreadsheet, pdf) containing Thai script.

        Is there hope?
        Attached Files

        Comment


          #5
          Since regenerating locales, have you rebooted?
          Using Kubuntu Linux since March 23, 2007
          "It is a capital mistake to theorize before one has data." - Sherlock Holmes

          Comment


            #6
            Originally posted by Rod J View Post
            I've run into similar problems using K15.10 and is yet another gripe I have with Plasma5. IIRC, in my case it was just that I wanted to change the digital clock AM/PM display to am/pm and I could not figure out any way to do that (relatively easy to do in KDE4). I fear this, and many other things about Plasma5 are a "dumbing down" of the DE which disappoints me.
            I thought it was a case of simple dumbing down as well but after reading through the frustrating bug ticket Rog131 posted, I realised it's also a matter of open source bureaucracy with devs of different projects shifting the responsibility to another team upstream and so on. I've had the unpleasant experience of seeing little things like these never getting fixed. Qlocale is pretty much crapware compared to Klocale.

            Originally posted by Rog131 View Post
            The KDE Frameworks 5 (KF5) is strictly following the freedesktop ( https://www.freedesktop.org/wiki/ ) and Qt ( https://en.wikipedia.org/wiki/Qt_(software) ) standards/specifications - so there are not so happy users: Bug 340982 - I cannot set my short date to YYYY-MM-DD, nor my time to HH:MM - https://bugs.kde.org/show_bug.cgi?id=340982


            Some workarounds:
            - Wrong time format in plasma5 lock screen: https://forum.kde.org/viewtopic.php?f=289&t=130484
            - How to set Monday as the first day of calendar widget?: https://forum.kde.org/viewtopic.php?f=66&t=131758

            With the login screen (are you using SDDM ?) you could edit the standard Breeze theme, install another theme or wrote own theme.
            The first work-around works when it comes to time and date formats as far as the actual digits and their arrangement goes. But after making some tests and checking http://doc.qt.io/qt-5/qml-qtqml-qt.h...ime-formatters and http://doc.qt.io/qt-5/qt.html#DateFormat-enum from the first bugfix you linked, apparently Qlocale will only provide names of days of the week and months in the system local language. And despite that language being set to en_GB, it still gives me Greek weekdays and months, AM/PM indicator in Greek as well.

            I suspect that during install, some global locale variable is set taken from the timezone and then cannot be unset again in any obvious manner. I tried setting every locale setting to GB and this still continued to happen.

            Comment


              #7
              I confirmed it. Whatever you select as your timezone during installation ends up becoming the global default for language that doesn't seem affected by any changes in location settings. This might affect other distributions using kde but it can definitely be fixed in kubuntu because I doubt it's intended behavior even taking the change to Qlocale into account. Time format also becomes unchangeable and either sticks to 12h or 24h unless someone fiddles with the scripts.

              The only way to avoid having localised language on the desktop popping up in unwanted places is to select country for language instead of timezone. Default timezone can be changed later successfully but the language is permanent.

              Comment


                #8
                Mr Cannibal, Excellent! (I should have figured it out, but I did not!) Obviously not optimal behavior. Now that you have put your finger on the problem, I can work around it going forward. Thanks!

                Comment

                Working...
                X