chiark / gitweb /
eglibc (2.11.3-4+deb6u3) squeeze-lts; urgency=medium
[eglibc.git] / debian / local / manpages / update-locale.8
1 .TH UPDATE-LOCALE 8 "April 2006" "Debian GNU/Linux"
2 .SH "NAME"
3 .LP 
4 update-locale \- Modify global locale settings
5 .SH "SYNTAX"
6 .LP 
7 update-locale 
8 .RI [ OPTIONS ]
9 [\fIvar\fP=\fIlocale\fP | \fIvar\fP]
10 [...]
11 .SH "DESCRIPTION"
12 .LP 
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
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.  (Default:
29 .BR /etc/default/locale )
30 .TP
31 .B \-\-no\-checks
32 Do not perform sanity checks on locale variables.
33 .SH "EXAMPLE"
34 .nf
35 The command
36 .ft B
37         update-locale LANG=en_CA.UTF-8 LANGUAGE
38 .ft R
39 sets \fBLANG\fP to \fBen_CA.UTF-8\fP and removes definitions for \fBLANGUAGE\fP.
40 .SH "FILES"
41 .TP 
42 .B /etc/default/locale
43 File where global locale settings are stored.
44 .SH "AUTHOR"
45 .LP 
46 Denis Barbier <barbier@linuxfr.org>
47 .SH "SEE ALSO"
48 .LP 
49 locale\-gen(8), locale(1)