[Xfce-bugs] [Bug 14005] New: "Trash" name not localized by LightDM's "Language menu" applet

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Tue Nov 14 17:07:00 CET 2017


https://bugzilla.xfce.org/show_bug.cgi?id=14005

            Bug ID: 14005
           Summary: "Trash" name not localized by LightDM's "Language
                    menu" applet
    Classification: Xfce Core
           Product: Thunar
           Version: 1.6.12
          Hardware: PC (x86_64)
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: General
          Assignee: xfce-bugs at xfce.org
          Reporter: liebundartig at freenet.de
        QA Contact: nick at xfce.org
                CC: benny at xfce.org, hjudt at xfce.org
  Target Milestone: 1.8.0

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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list