Imported Upstream version 0.18.3.2
[platform/upstream/gettext.git] / gettext-tools / doc / gettext_14.html
1 <HTML>
2 <HEAD>
3 <!-- This HTML file has been created by texi2html 1.52b
4      from gettext.texi on 7 January 2014 -->
5
6 <META HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8">
7 <TITLE>GNU gettext utilities - 14  The Installer's and Distributor's View</TITLE>
8 </HEAD>
9 <BODY>
10 Go to the <A HREF="gettext_1.html">first</A>, <A HREF="gettext_13.html">previous</A>, <A HREF="gettext_15.html">next</A>, <A HREF="gettext_25.html">last</A> section, <A HREF="gettext_toc.html">table of contents</A>.
11 <P><HR><P>
12
13
14 <H1><A NAME="SEC244" HREF="gettext_toc.html#TOC244">14  The Installer's and Distributor's View</A></H1>
15 <P>
16 <A NAME="IDX1173"></A>
17 <A NAME="IDX1174"></A>
18 <A NAME="IDX1175"></A>
19 <A NAME="IDX1176"></A>
20
21 </P>
22 <P>
23 By default, packages fully using GNU <CODE>gettext</CODE>, internally,
24 are installed in such a way that they to allow translation of
25 messages.  At <EM>configuration</EM> time, those packages should
26 automatically detect whether the underlying host system already provides
27 the GNU <CODE>gettext</CODE> functions.  If not,
28 the GNU <CODE>gettext</CODE> library should be automatically prepared
29 and used.  Installers may use special options at configuration
30 time for changing this behavior.  The command <SAMP>&lsquo;./configure
31 --with-included-gettext&rsquo;</SAMP> bypasses system <CODE>gettext</CODE> to
32 use the included GNU <CODE>gettext</CODE> instead,
33 while <SAMP>&lsquo;./configure --disable-nls&rsquo;</SAMP>
34 produces programs totally unable to translate messages.
35
36 </P>
37 <P>
38 <A NAME="IDX1177"></A>
39 Internationalized packages have usually many <TT>&lsquo;<VAR>ll</VAR>.po&rsquo;</TT>
40 files.  Unless
41 translations are disabled, all those available are installed together
42 with the package.  However, the environment variable <CODE>LINGUAS</CODE>
43 may be set, prior to configuration, to limit the installed set.
44 <CODE>LINGUAS</CODE> should then contain a space separated list of two-letter
45 codes, stating which languages are allowed.
46
47 </P>
48 <P><HR><P>
49 Go to the <A HREF="gettext_1.html">first</A>, <A HREF="gettext_13.html">previous</A>, <A HREF="gettext_15.html">next</A>, <A HREF="gettext_25.html">last</A> section, <A HREF="gettext_toc.html">table of contents</A>.
50 </BODY>
51 </HTML>