1 .TH UPDATE-LOCALE 8 "April 2006" "Debian GNU/Linux"
4 update-locale \- Modify global locale settings
9 [\fIvar\fP=\fIlocale\fP | \fIvar\fP]
13 This program can be called by maintainer scripts when Debian packages are
14 installed or removed, it updates the \fB/etc/default/locale\fP file to
15 reflect changes in system configuration related to global locale settings.
16 When variables have no value assigned, they are removed from the locale
18 Some basic checks are performed to ensure that requested settings are valid.
22 Display an help message and exit.
25 Variables which are not set on command-line are cleared out.
27 .BI \-\-locale\-file " FILE"
28 Define file containing locale variables. (Default:
29 .BR /etc/default/locale )
32 Do not perform sanity checks on locale variables.
37 update-locale LANG=en_CA.UTF-8 LANGUAGE
39 sets \fBLANG\fP to \fBen_CA.UTF-8\fP and removes definitions for \fBLANGUAGE\fP.
42 .B /etc/default/locale
43 File where global locale settings are stored.
46 Denis Barbier <barbier@linuxfr.org>
49 locale\-gen(8), locale(1)