blob: d87446b38f59a416c4794185387341b73b018329 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
.TH UPDATE-LOCALE 8 "April 2006" "Debian GNU/Linux"
.SH "NAME"
.LP
update-locale \- Modify global locale settings
.SH "SYNTAX"
.LP
update-locale
.RI [ OPTIONS ]
[\fIvar\fP=\fIlocale\fP | \fIvar\fP]
[...]
.SH "DESCRIPTION"
.LP
This program can be called by maintainer scripts when Debian packages are
installed or removed, it updates the \fI/etc/default/locale\fP file to
reflect changes in system configuration related to global locale settings.
When variables have no value assigned, they are removed from the locale
file.
Some basic checks are performed to ensure that requested settings are valid.
.SH "OPTIONS"
.TP
.B \-\-help
Display an help message and exit.
.TP
.B \-\-reset
Variables which are not set on command-line are cleared out.
.TP
.BI \-\-locale\-file " FILE"
Define file containing locale variables. (Default:
.IR /etc/default/locale )
.TP
.B \-\-no\-checks
Do not perform sanity checks on locale variables.
.SH "EXAMPLE"
.nf
The command
.ft B
update-locale LANG=en_CA.UTF-8 LANGUAGE
.ft R
sets \fBLANG\fP to \fBen_CA.UTF-8\fP and removes definitions for \fBLANGUAGE\fP.
.SH "FILES"
.TP
.I /etc/default/locale
File where global locale settings are stored.
.SH "AUTHOR"
.LP
Denis Barbier <barbier@linuxfr.org>
.SH "SEE ALSO"
.LP
\fBlocale\-gen\fP(8), \fBlocale\fP(1)
|