summaryrefslogtreecommitdiffstats
path: root/upstream/debian-bookworm/man8/locale-gen.8
blob: 5c212652c5081cbffc403a05cd1ab3de05e11aa4 (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
50
51
52
53
54
55
.\" SPDX-License-Identifier: 0BSD
.\"
.Dd May 5, 2022
.Dt LOCALE-GEN 8
.Os
.
.Sh NAME
.Nm locale-gen
.Nd generate localisation files from templates
.Sh SYNOPSIS
.Nm
.Op Fl -keep-existing
.
.Sh DESCRIPTION
As compiled locales are large, only templates are distributed in the default
.Sy locales
package, and only the desired locales are compiled on the target system.
.Pp
After selecting the locales into
.Pa /etc/locale.gen
.Pq via Nm dpkg No package configuration, for example ,
.Nm
is run to compile them via
.Xr localedef 1 .
.
.Sh OPTIONS
.Bl -tag -compact -width ".Fl -keep-existing"
.It Fl -keep-existing
Do not remove
.Pa /usr/lib/locale/locale-archive ,
only compiling new locales.
.El
.
.Sh FILES
.Bl -tag -compact -width ".Pa /etc/locale.gen"
.It Pa /etc/locale.gen
Whitespace-separated newline-delimited
.Ar locale charset
list of locales to build with
.Li #
start-of-line comments.
.El
.
.Sh SEE ALSO
.Xr locale 1 ,
.Xr localedef 1 ,
.Xr locale.gen 5
.Pp
.Pa /usr/share/i18n/SUPPORTED
.Pq Pa /usr/local/share/i18n/SUPPORTED
\(em list of all supported locales on the current system.
.Pp
The
.Sy locales-all
package, which contains all supported locales in compiled form.