Created attachment 493214 [details]
The issue is observed shortly after a fresh Gentoo installation (from scratch).
Selecting a locale from lightdm-gtk-greeter locale menu only has partial effect on locales with interface elements, e.g. desktop icons all shown in the expected user language but the trash icon is shown in the system locale, tooltips from the "User action buttons" icon shown in the expected user language but the dialog is shown in the system locale, Thunar interface is entirely shown in the system locale, even when launched from xfce4-terminal, which shows the expected locale settings...
If I log from a text terminal (e.g. tty2), set LC_xxx variables to my preference and run `startxfce4` then *all* of the interface elements are displayed in the expected locale.
Inspection of all my user processes show none of the LC_xxx variables are set if I log in from LIghtDM (graphical interface). Only LC_COLLATE is set but it comes from (the system-generated) /etc/env.d/02locale file.
FTR using OpenRC, not systemd.
Thank you for the report. Please *attach* the logfiles,
Please add the full package name in the beginning of the title.
(In reply to Jonas Stein from comment #1)
> Thank you for the report. Please *attach* the logfiles,
Hum, there's no failing emerge, it compiles, installs and works normally. It's just a feature that — I believe — is not complete. I'm afraid I have no log file to show, sorry. However I do have a working solution, which I've just posted.
> Please add the full package name in the beginning of the title.
As far as I remember, all of them, which I have worked with so far. I'm just mentioning the one one my machine at the time of writing this post.
Created attachment 493502 [details]
/etc/xprofile is one of the session initialization scripts lightdm looks for when starting a session. The submitted script here tests and sets locale-related environment variables when lightdm starts an xfce session — I believe — on a non-systemd machine. Anyway I'm not sure of the latter condition. I haven't tested other desktop environments than Xfce.