Re: language/locale selector [was: Re: Settings downstream would reasonably want to add]



Hey Lennart,

Lennart Poettering [2011-05-15 18:26 +0200]:
> Just out of curiosity, what's the mechanism Ubuntu uses to forward
> user locale settings to the system? i.e. what's the path to make locale
> configuration system-wide with Ubuntu?

Debian/Ubuntu store the system-wide default in /etc/default/locale. It
is a plain "source with /bin/sh" style file like

---------------------- 8< -----------------
$ cat /etc/default/locale 
LANG="de_DE.UTF-8"
LANGUAGE="en"
LC_MESSAGES="en_US.UTF-8
---------------------- 8< -----------------

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]