man > locale-gen(8)

LOCALE-GEN(8)                          System Manager's Manual                         LOCALE-GEN(8)

NAME
       locale-gen — generate localisation files from templates

SYNOPSIS
       locale-gen [--keep-existing]

DESCRIPTION
       As compiled locales are large, only templates are distributed in the default locales package,
       and only the desired locales are compiled on the target system.

       After  selecting  the  locales  into  /etc/locale.gen  (via  dpkg  package configuration, for
       example), locale-gen is run to compile them via localedef(1).

OPTIONS
       --keep-existing  Do not remove /usr/lib/locale/locale-archive, only compiling new locales.

FILES
       /etc/locale.gen  Whitespace-separated newline-delimited locale charset  list  of  locales  to
                        build with # start-of-line comments.
       /var/lib/locales/supported.d  A  directory  containing  locale.gen  snippets provided by lan‐
                                     guage-pack packages.  Do not edit these manually, they will  be
                                     overwritten on package upgrades.

SEE ALSO
       locale(1), localedef(1), locale.gen(5)

       /usr/share/i18n/SUPPORTED  (/usr/local/share/i18n/SUPPORTED)  — list of all supported locales
       on the current system.

       The locales-all package, which contains all supported locales in compiled form.

Debian                                       May 5, 2022                               LOCALE-GEN(8)

Generated by phpman v4.11.2-35-gf98a251 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-10-07 14:06 @216.73.217.162
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!