Still investigating. A similar issue is described here [1].
I realize that latest plasma versions seem to inherit locale settings
from systemd.
I used to set my locale by configuring the file
~/.config/plasma-localerc in this way:
# Plasma locale settings
cat > /etc/skel/.config/plasma-localerc << PLASMALOCALE_EOF
[Formats]
LANG=it_IT.UTF-8
[Translations]
LANGUAGE=it
PLASMALOCALE_EOF
I've removed this code: plasma now uses the localectl settings by default.
Still I can't see some translations (plasma objects).
Now the strange thing, from my live remix:
# ls /usr/share/locale/it/LC_MESSAGES/ -l
total 140
-rw-r--r--. 1 root root 988 mag 4 15:44 kcm_mobile_broadband.mo
-rw-r--r--. 1 root root 822 mag 4 15:44 kcm_mobile_hotspot.mo
-rw-r--r--. 1 root root 2313 mag 4 15:44 kcm_mobile_wifi.mo
-rw-r--r--. 1 root root 1114 mag 4 15:37 kdecoration.mo
-rw-r--r--. 1 root root 123142 mag 25 17:58 libc.mo
# rpm -q --list plasma-desktop | grep
/usr/share/locale/it/LC_MESSAGES/plasma_applet_org.kde.panel.mo
/usr/share/locale/it/LC_MESSAGES/plasma_applet_org.kde.panel.mo
# rpm -q --whatprovides
/usr/share/locale/it/LC_MESSAGES/plasma_applet_org.kde.panel.mo
error: file /usr/share/locale/it/LC_MESSAGES/plasma_applet_org.kde.panel.mo:
File o directory non esistente
# dnf reinstall plasma-desktop
# rpm -q --whatprovides
/usr/share/locale/it/LC_MESSAGES/plasma_applet_org.kde.panel.mo
plasma-desktop-5.21.5-1.fc34.x86_64
Re-installing the plasma-desktop package does the magic: translations are back!
I suppose two possible explanations:
1. Some "cleaner" remove translations from live builds (where? why?)
2. Plasma package doesn't install messages from some reason
Any suggestion is welcome.
[1]
https://github.com/Nitrux/nitrux-bug-tracker/issues/4
Il giorno dom 30 mag 2021 alle ore 23:11 Massi aka Ergosum
<massi.ergosum(a)gmail.com> ha scritto:
>
> Hello,
> I've a strange behaviour in my live remix when I try to set language
> using System settings > Regional settings > Language. I just get
> "American English" and "British English" and nothing else.
> I know there is a bug [1] in language settings.
>
> Is this behaviour due to the bug or I'm missing something?
> Does anyone know where the language list sourced from?
>
> Regards
> Massimiliano
>
> [1]
https://bugs.kde.org/show_bug.cgi?id=420268