Section: Maintenance Commands (8)Updated: March 2005Local indexUp
locale-gen - compile a list of locale definition files
[options] [locale] [language] ...
Compiled locale files take about 50MB of disk space, and most users
only need few locales. In order to save disk space, compiled locale
files are not distributed in the
package, but selected locales are automatically generated when this
package is installed by running the
If a list of languages and/or locales is specified as arguments, then
locale-gen only generates these particular locales and adds the new ones
to /var/lib/locales/supported.d/local. Otherwise it generates all supported
Locale data files can be stored either in a single archive file,
or in a deep tree where individual files are stored under
But unlike the
package, compiled locale definitions are not removed when running
and locales are compiled again only if locale source files have changed.
These options override settings found in
Display an help message and exit.
Remove all existing locales before processing.
Do not remove existing locales before processing.
When this option is set, locale data are stored in a single archive
When this option is set, locale data are stored in
This is the default.
Locale aliases are read from
List all locales to generate. File format is similar to
Customize how compiled locale files are stored onto disk.
Compiled locale data.
Generated archive containing compiled locale data, if
flag is set.
Directory used to keep track of changes in locale source files.
program was originally written by Debian GNU libc maintainers,
and has been improved by Denis Barbier <email@example.com> for
package. This manual page has been rewritten from scratch to
document the current behavior.