You are not logged in.
Some time ago I installed Arch on my old laptop.
I remember that when I used xdg user directories it worked but instead of Polish I had English names. I don't remember what I did but I managed to fix it.
Today I did another install of Arch (another PC).
I didn't have my laptop, so I had to create dirs with wiki article.
And the problem (I know that it's not a problem but my lack of knowledge and understanding) occurred again.
At the beginning I changed ~/.config/user-dirs.locale
from C to pl_PL
After that I did xdg-user-dirs-update and xdg-user-dirs-update --force but it didn't change nothing.
Then I edited
/etc/xdg/user-dirs.defaults
Inside I've changed English to Polish names and It worked but...
Just a moment ago I checked my previous installation and names in /etc/xdg/user-dirs.defaults are in English and I have Polish names in ~/.config/user-dirs.dirs
I RTFM myself few times and I'm just not sure so please help me clarify this. Are the changes in etc global and changes in user home local?
What is there a correct way to this?
Why changing ~/.config/user-dirs.locale from C to pl_PL didn't help?
Last edited by 860lacov (2020-06-12 18:33:14)
Offline
xdg-user-dirs-update uses your locale setting to determine which language is to be used .
If you set up your locale correctly, it should automagically use the correct language.
Check https://wiki.archlinux.org/index.php/Locale for info about setting systemwide / userspecific locale .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
I don't know if I did everything correctly but my locale output is:
LANG=pl_PL.UTF-8
LC_CTYPE="pl_PL.UTF-8"
LC_NUMERIC="pl_PL.UTF-8"
LC_TIME="pl_PL.UTF-8"
LC_COLLATE="pl_PL.UTF-8"
LC_MONETARY="pl_PL.UTF-8"
LC_MESSAGES="pl_PL.UTF-8"
LC_PAPER="pl_PL.UTF-8"
LC_NAME="pl_PL.UTF-8"
LC_ADDRESS="pl_PL.UTF-8"
LC_TELEPHONE="pl_PL.UTF-8"
LC_MEASUREMENT="pl_PL.UTF-8"
LC_IDENTIFICATION="pl_PL.UTF-8"
LC_ALL=So I believe that during installation I did everything as I should.
Offline
That looks good, but there's more that can go wrong.
post outputs of
$ locale -a
$ localectl
$ localectl list-localesThe contents of /etc/locale.conf and $XDG_CONFIG_HOME/locale.conf (if they exist) is also useful.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
lacale -a
C
POSIX
pl_PL.utf8localectl
System locale: LANG=C
VC Keymap: pl
X11 Layout: n/aloacle output
everything ="C"
That looks good, but there's more that can go wrong.
post outputs of
$ locale -a $ localectl $ localectl list-localesThe contents of /etc/locale.conf and $XDG_CONFIG_HOME/locale.conf (if they exist) is also useful.
etc doesn't exist
Not sure if $XDG_CONFIG_HOME/locale.conf means home/locale.conf but it's not there.
Last edited by 860lacov (2020-06-18 15:15:44)
Offline
Lone_Wolf wrote:The contents of /etc/locale.conf and $XDG_CONFIG_HOME/locale.conf (if they exist) is also useful.
etc doesn't exist
It should: https://wiki.archlinux.org/index.php/In … calization
And you should have included en_US.UTF-8 in /etc/locale.gen
Not sure if $XDG_CONFIG_HOME/locale.conf means home/locale.conf but it's not there.
$XDG_CONFIG_HOME defaults to ~/.config/
Jin, Jîyan, Azadî
Offline