102 lines
2.9 KiB
HTML
102 lines
2.9 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of LOCALE-GEN</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>LOCALE-GEN</H1>
|
|
Section: Maintenance Commands (8)<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME </H2>
|
|
|
|
locale-gen --- generates localisation files from templates
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS </H2>
|
|
|
|
<P>
|
|
|
|
<B>locale-gen</B>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION </H2>
|
|
|
|
<P>
|
|
|
|
This manual page documents briefly the
|
|
<B>locale-gen</B> command.
|
|
<P>
|
|
|
|
By default, the locale package which provides the base support for
|
|
localisation of libc-based programs does not contain usable localisation
|
|
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 special
|
|
mechanism where we prepare the actual localisation files on the target
|
|
host and distribute only the templates for them.
|
|
<P>
|
|
|
|
<B>locale-gen</B> is a program that reads the file
|
|
<B>/etc/locale.gen</B> and invokes
|
|
<B>localedef</B> for the chosen localisation profiles.
|
|
Run <B>locale-gen</B> after you have modified the <B>/etc/locale.gen</B> file.
|
|
<BR>
|
|
<BR>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>FILES </H2>
|
|
|
|
<P>
|
|
|
|
<B>/etc/locale.gen</B>
|
|
<P>
|
|
|
|
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 definition that is to be built.
|
|
<BR>
|
|
<B>/var/lib/locales/supported.d/</B>
|
|
<P>
|
|
|
|
A directory containing locale.gen snippets provided by language-pack
|
|
packages. Do not edit these manually, they will be overwritten on
|
|
package upgrades.
|
|
<P>
|
|
|
|
<P>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>SEE ALSO </H2>
|
|
|
|
<P>
|
|
|
|
<A HREF="/cgi-bin/man/man2html?1+localedef">localedef</A>(1), <A HREF="/cgi-bin/man/man2html?1+locale">locale</A>(1), <A HREF="/cgi-bin/man/man2html?5+locale.gen">locale.gen</A>(5).
|
|
<A NAME="lbAG"> </A>
|
|
<H2>AUTHOR </H2>
|
|
|
|
<P>
|
|
|
|
This manual page was written by Eduard Bloch <<A HREF="mailto:blade@debian.org">blade@debian.org</A>> for
|
|
the <B>Debian GNU/Linux</B> 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.
|
|
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="1"><A HREF="#lbAB">NAME </A><DD>
|
|
<DT id="2"><A HREF="#lbAC">SYNOPSIS </A><DD>
|
|
<DT id="3"><A HREF="#lbAD">DESCRIPTION </A><DD>
|
|
<DT id="4"><A HREF="#lbAE">FILES </A><DD>
|
|
<DT id="5"><A HREF="#lbAF">SEE ALSO </A><DD>
|
|
<DT id="6"><A HREF="#lbAG">AUTHOR </A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:13 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|