Announcement

Collapse
No announcement yet.

[SOLVED] Wrong Date Locale

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

    [SOLVED] Wrong Date Locale

    Kubuntu 23.04

    Issue: the date in the taskbar and sometimes in some places in the settings is displayed in the wrong locale. I live in Georgia (not the US state). I tried many many times to modify the locale file located in /etc/default. I did it by running sudo nano locale while in that folder. I don't think I made a mistake somewhere, because currently locale looks like this:

    Code:
    # File generated by update-locale
    LANG="en_US.UTF-8"
    LC_NUMERIC="en_US.UTF-8"
    LC_TIME="en_US.UTF-8"
    LC_MONETARY="en_US.UTF-8"
    LC_PAPER="en_US.UTF-8"
    LC_NAME="en_US.UTF-8"
    LC_ADDRESS="en_US.UTF-8"
    LC_TELEPHONE="en_US.UTF-8"
    LC_MEASUREMENT="en_US.UTF-8"
    LC_IDENTIFICATION="en_US.UTF-8"
    Nonetheless, echo $LC_TIME still returns ka_GE.UTF-8​ for some reason.​

    I also tried the following:

    1. sudo update-locale LC_TIME=en_US.UTF-8​
    2. sudo localectl set-locale LC_TIME=en_US.utf8 (I just copied the command I found, I don't know if "utf8" without the hyphen is a typo or not)​
    3. sudo dpkg-reconfigure locales and then updated the en_US.UTF-8 or whatever, I don't know

    UPDATE: output of locale

    Code:
    LANG=en_US.UTF-8
    LANGUAGE=en_US
    LC_CTYPE="en_US.UTF-8"
    LC_NUMERIC=ka_GE.UTF-8
    LC_TIME=ka_GE.UTF-8
    LC_COLLATE="en_US.UTF-8"
    LC_MONETARY=ka_GE.UTF-8
    LC_MESSAGES="en_US.UTF-8"
    LC_PAPER=ka_GE.UTF-8
    LC_NAME=ka_GE.UTF-8
    LC_ADDRESS=ka_GE.UTF-8
    LC_TELEPHONE=ka_GE.UTF-8
    LC_MEASUREMENT=ka_GE.UTF-8
    LC_IDENTIFICATION=ka_GE.UTF-8
    LC_ALL=

    #2
    SOLVED: Solution for me was deleting .pam_environment file located in the $HOME directory. I removed it by running rm ~/.pam_environment​. Relogined and now everything looks like I wanted.

    Comment

    Working...
    X