From: "Kerin Millar" <kfm@plushkava.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/locale-gen:master commit in: /
Date: Tue, 05 Aug 2025 21:53:59 +0000 (UTC) [thread overview]
Message-ID: <1754430569.eca042ce3d28e05ddb0d5823ce3b8063ff0e6c5f.kfm@gentoo> (raw)
commit: eca042ce3d28e05ddb0d5823ce3b8063ff0e6c5f
Author: Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Tue Aug 5 21:43:19 2025 +0000
Commit: Kerin Millar <kfm <AT> plushkava <DOT> net>
CommitDate: Tue Aug 5 21:49:29 2025 +0000
URL: https://gitweb.gentoo.org/proj/locale-gen.git/commit/?id=eca042ce
locale-gen.8: rewrite in the style that a technical writer might
This commit improves the locale-gen(8) manual by exacting a style of
English that is characteristic of technical documentation, by which I
mean documentation that has been written by a technical writer. The
DESCRIPTION section has undergone the most notable changes, better
describing the purpose and behaviour of the program. The OPTIONS section
has also been revised, and the FILES section now contains entries for
the "SUPPORTED" and "locale-archive" files.
Bug: https://bugs.gentoo.org/945269
Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>
locale-gen.8 | 52 ++++++++++++++++++++++++++++++++++------------------
1 file changed, 34 insertions(+), 18 deletions(-)
diff --git a/locale-gen.8 b/locale-gen.8
index d7aadaa..c6a4735 100644
--- a/locale-gen.8
+++ b/locale-gen.8
@@ -1,39 +1,51 @@
.TH "locale-gen" "8" "Aug 2025" "Gentoo"
.SH "NAME"
-locale\-gen \- generate locales on the fly
+locale\-gen \- safely compile and install a glibc locale archive
.SH "DESCRIPTION"
-The locale\-gen utility is used to manage locales on your system. Often times
-it merely generates a user configurable list of locales, but it can be used to
-generate a few locales on the fly as needed.
+The locale\-gen utility provides a means by which a system administrator may
+conveniently manage the set of locales that are made available to the GNU C
+Library. It accomplishes this by acting as a user-friendly frontend for the
+standard \fBlocaledef\fR(1) utility, which is used to compile locales and
+integrate them into a single archive.
+
+A default installation of Gentoo Linux shall provide an archive that contains
+all supported locales, numbering 500 or more. However, it is typical for an
+administrator to require only one or two of these. In that case, the
+\fBlocale.gen\fR(5) configuration file may be populated with a list of the
+required locales. By default, locale-gen shall read this file and compile only
+the locales that are specified, saving both time and space in the longer term.
+
+If the configuration file is missing, empty, or consists only of comments,
+locale-gen shall act in one of two ways, depending on whether the
+\fB--config\fR option was specified. If specified then locale-gen shall abort
+with a suitable diagnostic message. Otherwise, locale-gen shall act as if the
+\fB--all\fR option had been specified.
-Normally all locales would be generated at build time, but this leads to waste
-of disk and time as many users really just want a handful on their system.
.SH "OPTIONS"
.TP
\fB\-A\fR, \fB\-\-all\fR
-Generate all possible locales
+Compile all locales that are officially supported by glibc
.TP
\fB\-c\fR, \fB\-\-config\fR \fI<config>\fR
-Use specified \fIconfig\fR file rather than default /etc/locale.gen
+Read the given \fIconfig\fR file (defaults to /etc/locale.gen)
.TP
-\fB\-d\fR, \fB\-\-prefix\fR \fI<dir>\fR
-Look for locale definitions and store generated locale data in the specified
-\fIdirectory\fR
+\fB\-d\fR, \fB\-\-prefix\fR \fI<directory>\fR
+Treat most filesystem paths as being relative to the given \fIdirectory\fR (defaults to / if not a Gentoo Prefix system)
.TP
\fB\-h\fR, \fB\-\-help\fR
-Show the help output (imagine that)
+Write out a synopsis and summary of the supported options then exit
.TP
-\fB\-j\fR, \fB\-\-jobs\fR \fI<num>\fR
-Generate the specified \fInumber\fR of locales in parallel
+\fB\-j\fR, \fB\-\-jobs\fR \fI<integer>\fR
+Spawn up to \fIinteger\fR workers to compile locales in parallel (defaults to the number of logical processors)
.TP
\fB\-q\fR, \fB\-\-quiet\fR
-Only spit out errors
+Suppress the writing of informational messages to standard output
.TP
\fB\-u\fR, \fB\-\-update\fR
-Only generate locales that do not already exist (normally existing locales are regenerated)
+Suppress the compilation of locales that are already installed (not recommended)
.TP
\fB\-V\fR, \fB\-\-version\fR
-Report the program version
+Write out some details regarding the program then exit
.SH "AUTHORS"
.fi
Version 3.0 is the work of Kerin Millar <kfm@plushkava.net>.
@@ -43,7 +55,11 @@ Prior versions are chiefly the work of Mike Frysinger <vapier@google.com>.
.SH "REPORTING BUGS"
Please report bugs via http://bugs.gentoo.org/
.SH "FILES"
-\fB/etc/locale.gen\fR \- locale list
+\fB/etc/locale.gen\fR \- specifies the locales to be compiled
+.br
+\fB/usr/share/i18n/SUPPORTED\fR \- a list of officially supported locales
+.br
+\fB/usr/lib/locale/locale-archive\fR \- contains the currently installed locales
.SH "SEE ALSO"
.BR locale (1),
.BR localedef (1),
next reply other threads:[~2025-08-05 21:54 UTC|newest]
Thread overview: 148+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-05 21:53 Kerin Millar [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-09-18 23:06 [gentoo-commits] proj/locale-gen:master commit in: / Kerin Millar
2025-09-18 23:04 Kerin Millar
2025-09-18 23:04 Kerin Millar
2025-09-15 5:08 Kerin Millar
2025-09-15 4:07 Kerin Millar
2025-09-15 4:07 Kerin Millar
2025-09-15 4:07 Kerin Millar
2025-09-14 4:24 Kerin Millar
2025-09-14 4:20 Kerin Millar
2025-09-13 23:53 Kerin Millar
2025-09-13 23:51 Kerin Millar
2025-09-13 23:51 Kerin Millar
2025-09-13 23:23 Kerin Millar
2025-09-13 23:23 Kerin Millar
2025-09-13 9:42 Kerin Millar
2025-09-13 9:35 Kerin Millar
2025-09-13 9:27 Kerin Millar
2025-09-13 8:46 Kerin Millar
2025-09-13 8:42 Kerin Millar
2025-09-13 1:23 Kerin Millar
2025-09-13 1:14 Kerin Millar
2025-09-12 16:59 Kerin Millar
2025-09-12 16:59 Kerin Millar
2025-09-12 16:59 Kerin Millar
2025-09-12 16:59 Kerin Millar
2025-09-12 16:59 Kerin Millar
2025-09-12 16:59 Kerin Millar
2025-08-22 23:42 Kerin Millar
2025-08-22 23:12 Kerin Millar
2025-08-22 23:12 Kerin Millar
2025-08-22 23:12 Kerin Millar
2025-08-22 23:12 Kerin Millar
2025-08-22 23:12 Kerin Millar
2025-08-22 23:12 Kerin Millar
2025-08-22 23:12 Kerin Millar
2025-08-22 23:12 Kerin Millar
2025-08-22 23:12 Kerin Millar
2025-08-22 23:12 Kerin Millar
2025-08-22 23:12 Kerin Millar
2025-08-22 23:12 Kerin Millar
2025-08-22 23:12 Kerin Millar
2025-08-20 2:39 Kerin Millar
2025-08-20 2:39 Kerin Millar
2025-08-19 13:37 Kerin Millar
2025-08-19 13:19 Kerin Millar
2025-08-18 2:46 Kerin Millar
2025-08-18 1:18 Kerin Millar
2025-08-18 1:18 Kerin Millar
2025-08-17 2:01 Kerin Millar
2025-08-16 23:17 Kerin Millar
2025-08-16 23:17 Kerin Millar
2025-08-16 3:46 Kerin Millar
2025-08-15 22:29 Kerin Millar
2025-08-15 22:29 Kerin Millar
2025-08-15 22:18 Kerin Millar
2025-08-15 5:35 Kerin Millar
2025-08-15 4:07 Kerin Millar
2025-08-15 3:57 Kerin Millar
2025-08-13 23:49 Kerin Millar
2025-08-13 22:53 Kerin Millar
2025-08-13 22:45 Kerin Millar
2025-08-13 21:42 Kerin Millar
2025-08-13 21:42 Kerin Millar
2025-08-13 21:42 Kerin Millar
2025-08-13 21:42 Kerin Millar
2025-08-13 21:42 Kerin Millar
2025-08-13 21:42 Kerin Millar
2025-08-13 10:09 Kerin Millar
2025-08-13 10:09 Kerin Millar
2025-08-12 17:32 Kerin Millar
2025-08-12 5:06 Kerin Millar
2025-08-12 5:06 Kerin Millar
2025-08-11 22:43 Kerin Millar
2025-08-11 16:04 Kerin Millar
2025-08-11 16:04 Kerin Millar
2025-08-11 0:39 Kerin Millar
2025-08-10 22:53 Kerin Millar
2025-08-10 22:22 Kerin Millar
2025-08-10 22:22 Kerin Millar
2025-08-10 17:05 Kerin Millar
2025-08-10 8:15 Kerin Millar
2025-08-10 1:22 Kerin Millar
2025-08-09 20:18 Kerin Millar
2025-08-09 19:42 Kerin Millar
2025-08-09 19:42 Kerin Millar
2025-08-09 19:42 Kerin Millar
2025-08-08 17:44 Kerin Millar
2025-08-08 17:44 Kerin Millar
2025-08-08 17:44 Kerin Millar
2025-08-08 17:44 Kerin Millar
2025-08-07 23:20 Kerin Millar
2025-08-07 23:20 Kerin Millar
2025-08-07 22:59 Kerin Millar
2025-08-07 22:59 Kerin Millar
2025-08-07 22:59 Kerin Millar
2025-08-07 22:59 Kerin Millar
2025-08-07 22:59 Kerin Millar
2025-08-07 19:43 Kerin Millar
2025-08-07 19:41 Kerin Millar
2025-08-07 19:41 Kerin Millar
2025-08-07 16:35 Kerin Millar
2025-08-07 16:20 Kerin Millar
2025-08-07 16:20 Kerin Millar
2025-08-07 16:20 Kerin Millar
2025-08-07 16:20 Kerin Millar
2025-08-07 16:20 Kerin Millar
2025-08-07 16:20 Kerin Millar
2025-08-06 17:02 Kerin Millar
2025-08-06 7:44 Kerin Millar
2025-08-06 6:48 Kerin Millar
2025-08-05 23:00 Kerin Millar
2025-08-05 21:53 Kerin Millar
2025-08-05 21:53 Kerin Millar
2025-08-05 10:55 Kerin Millar
2025-08-05 10:32 Kerin Millar
2025-08-05 10:29 Kerin Millar
2025-08-05 10:29 Kerin Millar
2025-08-04 16:02 Kerin Millar
2025-08-04 12:13 Kerin Millar
2025-08-04 12:13 Kerin Millar
2025-08-04 11:56 Kerin Millar
2025-08-04 11:25 Kerin Millar
2025-08-04 11:19 Sam James
2025-07-01 21:02 Andreas K. Hüttel
2023-05-11 22:23 Andreas K. Hüttel
2023-03-21 17:37 Andreas K. Hüttel
2021-09-27 6:49 Mike Frysinger
2021-09-27 6:49 Mike Frysinger
2021-09-27 6:49 Mike Frysinger
2021-09-27 6:49 Mike Frysinger
2021-09-27 6:49 Mike Frysinger
2021-09-27 6:49 Mike Frysinger
2021-09-27 5:46 Mike Frysinger
2021-08-06 21:09 Andreas K. Hüttel
2021-03-12 16:28 Mike Frysinger
2020-07-27 15:38 Andreas K. Hüttel
2020-07-27 10:36 Andreas K. Hüttel
2020-07-26 17:37 Andreas K. Hüttel
2020-07-26 17:37 Andreas K. Hüttel
2020-07-15 1:56 Andreas K. Hüttel
2020-07-15 1:56 Andreas K. Hüttel
2020-05-12 4:23 Andreas K. Hüttel
2020-05-12 4:23 Andreas K. Hüttel
2020-05-12 4:23 Andreas K. Hüttel
2020-05-12 4:23 Andreas K. Hüttel
2020-05-12 4:23 Andreas K. Hüttel
2020-05-12 4:23 Andreas K. Hüttel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1754430569.eca042ce3d28e05ddb0d5823ce3b8063ff0e6c5f.kfm@gentoo \
--to=kfm@plushkava.net \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox