When the
MDM display manager is used, the session’s environment reports two language locales, for instance:
Code: Select all
…$ env | grep LANG
LANG=en_US.UTF-8
MDM_LANG=en_US.UTF-8
The first one is the so-called
system language, whereas the second holds for the login screen, i.e.
MDM only. One can think of
multi-language settings where these could be separate languages, e.g. English for the command line and the one shared by all users of the computer for login screen (there, each user can choose his own session language anyway).
The only place I found where MDM_LANG can be made active is
/etc/init/mdm.conf. Here, you must include a line
just before
mdm is executed.