"Trash" name not localized by LightDM's "Language menu" applet
Submitted by René Genz
Assigned to Xfce Bug Triage
Description
I do know if this is the right component to file the bug against.
Xfce does not honor the user setting set by the "Languages menu" applet in LightDM to localize the name of "Trash" . The applet writes to the file: $ cat ~/.dmrc [Desktop] Language=en_US.utf8 Session=xfce
Removing the applet from LightDM menu (f.e. with lightdm-gtk-greeter-settings
) prevents overwriting. Changing permissions of the file does not.
Everything is localized, except for "Trash". It uses the German name "Papierkorb".
This affects the icon on the desktop as well as the icon in the sidebar of thunar
at "Places".
The system default setting is used: $ cat /etc/locale.conf LANG=de_DE.utf8
You must restart the computer to make it recognize changes to the file.
This file is ignored: $ cat .config/user-dirs.locale en_US
Editing this file did not help: ~/.config/xfce4/desktop/icons.screen0-1584-*.rc
The issue is reproducable on Parabola and Fedora 26 both used with LightDM and Xfce. $ pacman -Q thunar thunar 1.6.12-1
$ dnf list thunar Thunar.x86_64 1.6.12-1.fc26 @updates-testing
A fix for the problem is the following user setting. Logout is sufficient: $ cat ~/.pam_environment LANG=en_US.utf8
I have not checked the code of Xfce. Maybe this proposal is bad:
put the following logical part before the use of "/.pam_environment":
if "/.dmrc" is present, use its "Language" setting
Version: 1.6.12