Debian Codegraph @

upstream/debian-unstable/man8/update-locale.8

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