10139N/A<!
DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
10139N/A<!--ArborText, Inc., 1988-1999, v.4002-->
10139N/A<!
ENTITY suncopy "Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved.">
10139N/A<
refmeta><
refentrytitle>intltoolize</
refentrytitle><
manvolnum>1</
manvolnum>
11904N/A<
refmiscinfo class="date">3 Apr 2003</
refmiscinfo>
10139N/A<
refmiscinfo class="sectdesc">&man1;</
refmiscinfo>
10139N/A<
refmiscinfo class="software">&release;</
refmiscinfo>
10139N/A<
refmiscinfo class="arch">generic</
refmiscinfo>
10139N/A<
refmiscinfo class="copyright">&suncopy;</
refmiscinfo>
10139N/A<
indexterm><
primary>intltoolize</
primary></
indexterm><
indexterm><
primary>
10139N/Aprepare a source code tree to use the <
application>intltool</
application>
10139N/Autilities</
primary></
indexterm><
refnamediv id="intltoolize-1-name"><
refname>intltoolize</
refname>
10139N/A<
refpurpose>prepare a source code tree to use the <
application>intltool</
application>
10139N/Autilities</
refpurpose></
refnamediv>
10139N/A<
refsynopsisdiv id="intltoolize-1-synp"><
title>&synp-tt;</
title>
10139N/A<
cmdsynopsis><
command>&cmd;</
command><
arg choice="opt"><
option>-automake</
option></
arg>
10139N/A<
arg choice="opt"><
option>-copy</
option></
arg><
arg choice="opt"><
option>-debug
10139N/A</
option></
arg><
arg choice="opt"><
option>-dry-run</
option></
arg><
arg choice="opt"><
option>
10139N/A-force</
option></
arg><
arg choice="opt"><
option>-help</
option></
arg><
arg choice="opt"><
option>
10139N/A<
refsect1 id="intltoolize-1-desc"><
title>&desc-tt;</
title>
10139N/A<
para><
command>&cmd;</
command> prepares a package to use the <
application>
10139N/Aintltool</
application> utilities. <
command>&cmd;</
command> links or copies
10139N/Avarious files needed by the <
application>intltool</
application> utilities
10139N/Ato the appropriate location, for use when building the package. You must change
10139N/Ayour working directory to the top-level directory of the package before running <
command>&cmd;</
command>.
10139N/A<
refsect1 id="intltoolize-1-opts"><
title>&opts-tt;</
title>
10139N/A<
para>The following options are supported:</
para>
10139N/A<
variablelist termlength="narrow"><
varlistentry><
term><
option>-automake</
option></
term>
10139N/A<
listitem><
para>Work silently, and assume that Automake is in use.</
para>
10139N/A<
varlistentry><
term><
option>-copy</
option></
term><
listitem><
para>Copy files,
10139N/Ainstead of creating symbolic links to the files. You can also use <
option>
10139N/Ac</
option> to specify this option.</
para>
10139N/A<
varlistentry><
term><
option>-debug</
option></
term><
listitem><
para>Enable verbose
10139N/A<
varlistentry><
term><
option>-dry-run</
option></
term><
listitem><
para>Print
10139N/Athe commands but do not run the commands. You can also use <
option>n</
option>
10139N/A<
varlistentry><
term><
option>-force</
option></
term><
listitem><
para>Replace
10139N/Aexisting files. You can also use <
option>f</
option> to specify this option.
10139N/A<
varlistentry><
term><
option>-help</
option></
term><
listitem><
para>Show usage
10139N/Aand basic help information.</
para>
10139N/A<
varlistentry><
term><
option>-version</
option></
term><
listitem><
para>Show version
10139N/A<
refsect1 id="intltoolize-1-exam"><
title>&exam-tt;</
title>
10139N/A<
example role="example"><
title>Using &cmd; and the intltool Utilities</
title>
10139N/A<
para>To use <
command>&cmd;</
command> and the <
application>intltool</
application>
10139N/Autilities, perform the following steps:</
para>
10139N/A<
listitem><
para>Install <
application>intltool</
application>. Ensure that the
10139N/Amacro installed by <
application>intltool</
application> is in the <
literal>
10139N/Aaclocal</
literal> path, or run the following command</
para><
screen>example% <
userinput>
10139N/Afile, after the call to <
command>gettextize</
command>:</
para><
screen>echo "Running intltoolize"
10139N/Aintltoolize --copy --force --automake</
screen>
10139N/Afile, near the top of the file:</
para><
screen>AC_PROG_INTLTOOL([minimum required version])
10139N/Athe top-level <
filename>.cvsignore</
filename> file. Also add the non-<
filename>
10139N/A.in</
filename> versions to the <
filename>.cvsignore</
filename> file.</
para>
10139N/Apo/
update.<
replaceable>*</
replaceable></
filename> scripts, if present in your
10139N/Asource tree. The <
filename>intltool-update</
filename> utility will perform
10139N/Aequivalent functions.</
para></
listitem>
10139N/A<
para>At this point, translatable strings will be automatically extracted
10139N/Ato the <
filename>.po</
filename> files.</
para>
10139N/A<
refsect1 id="intltoolize-1-exit"><
title>&exit-tt;</
title>
10139N/A<
para>The following exit values are returned:</
para>
10139N/A<
variablelist termlength="xtranarrow"><
varlistentry><
term><
returnvalue>0</
returnvalue></
term>
10139N/A<
listitem><
para>Application exited successfully</
para>
10139N/A<
varlistentry><
term><
returnvalue>>0</
returnvalue></
term><
listitem><
para>Application
10139N/A<
refsect1 id="intltoolize-1-file"><
title>&file-tt;</
title>
10139N/A<
para>The following files are used by this application:</
para>
10139N/A<
variablelist termlength="medium"><
varlistentry><
term><
filename>/
usr/
bin/&cmd;</
filename>
10139N/A</
term><
listitem><
para>The command-line executable for the application.</
para>
10139N/A<
refsect1 id="intltoolize-1-attr"><
title>&attr-tt;</
title>
10139N/A<
para>See <
olink targetdocent="REFMAN5" localinfo="attributes-5"><
citerefentry>
10139N/A<
refentrytitle>attributes</
refentrytitle><
manvolnum>5</
manvolnum></
citerefentry></
olink>
10139N/Afor descriptions of the following attributes:</
para>
10139N/A<
tgroup cols="2" colsep="1" rowsep="1"><
colspec colname="COLSPEC0" colwidth="1*">
10139N/A<
colspec colname="COLSPEC1" colwidth="1*">
10139N/A<
row><
entry align="center" valign="middle">ATTRIBUTE TYPE</
entry><
entry align="center" 10139N/Avalign="middle">ATTRIBUTE VALUE</
entry></
row>
10139N/A<
row><
entry colname="COLSPEC0"><
para>Interface stability</
para></
entry><
entry 10139N/Acolname="COLSPEC1"><
para>Volatile</
para></
entry></
row>
10139N/A<
refsect1 id="intltoolize-1-also"><
title>&also-tt;</
title>
10139N/A<!--Reference to another man page--> 10139N/A<!--Reference to a Help manual--> 10139N/A<
para><
citerefentry><
refentrytitle>intltool-extract</
refentrytitle><
manvolnum>
10139N/A1</
manvolnum></
citerefentry>, <
citerefentry><
refentrytitle>intltool-merge
10139N/A</
refentrytitle><
manvolnum>1</
manvolnum></
citerefentry>, <
citerefentry><
refentrytitle>
10139N/Aintltool-prepare</
refentrytitle><
manvolnum>1</
manvolnum></
citerefentry>, <
citerefentry>
10139N/A<
refentrytitle>intltool-unicodify</
refentrytitle><
manvolnum>1</
manvolnum>
10139N/A</
citerefentry>, <
citerefentry><
refentrytitle>intltool-update</
refentrytitle>
10139N/A<
manvolnum>1</
manvolnum></
citerefentry></
para>
10139N/A<
refsect1 id="intltoolize-1-note"><
title>¬e-tt;</
title>
10139N/A<
para>For more information, see the <
filename>I18N-HOWTO</
filename> file,
10139N/Awhich is provided with the <
application>intltool</
application> source code.
11933N/A<
para>Updated by Damien Donlon, Sun Microsystems Inc., 2003. Written by Darin
10139N/AAdler, Kenneth Christiansen, Maciej Stachowiak.</
para>