locale-gen Man page

Resume Wikipedia de Linux

GNU/Linux ou Linux est un système d’exploitation associant des éléments essentiels du projet GNU et le noyau Linux.
Fondé en 1984 par Richard Stallman, le système d’exploitation GNU resta jusqu’en 1991 au stade expérimental car son noyau Hurd était toujours en développement. Cependant, Linus Torvalds créa indépendamment le noyau Linux qui résolut le problème en remplaçant Hurd.
Néanmoins, cette mise en relation des deux projets engendra une controverse toujours d’actualité autour du nom du système associant les deux éléments, certains, dont le grand public, appelant le système simplement Linux, et d’autres, dont Richard Stallman, défendant le nom combiné GNU/Linux.

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


locale-gen — generates localisation files from templates




This manual page documents briefly the locale-gen command.

By default, the locale package which provides the base support for
localisation of libc-based programs does not contain usable localisa‐
tion files for every supported language. This limitation has became
necessary because of the substantial size of such files and the large
number of languages supported by libc. As a result, Debian uses a spe‐
cial mechanism where we prepare the actual localisation files on the
target host and distribute only the templates for them.

locale-gen is a program that reads the file /etc/locale.gen and invokes
localedef for the chosen localisation profiles. Run locale-gen after
you have modified the /etc/locale.gen file.


The main configuration file, which has a simple format: every line that
is not empty and does not begin with a # is treated as a locale defini‐
tion that is to be built.


A directory containing locale.gen snippets provided by language-pack
packages. Do not edit these manually, they will be overwritten on
package upgrades.


localedef, locale, locale.gen(5).


This manual page was written by Eduard Bloch for the
Debian GNU/Linux system (but may be used by others). Permission is
granted to copy, distribute and/or modify this document under the terms
of the GNU Free Documentation License, Version 1.1 or any later version
published by the Free Software Foundation; with no Invariant Sections,
no Front-Cover Texts and no Back-Cover Texts.