intltool-prepare.1 revision 18745
12366N/A<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
12366N/A<!--ArborText, Inc., 1988-1999, v.4002-->
12366N/A<!--ARC : LSARC 2003/030 GNOME 2.x intltool-->
12384N/A<!ENTITY cmd "intltool-prepare">
12366N/A<!ENTITY % commonents SYSTEM "smancommon.ent">
12366N/A%commonents;
12366N/A<!ENTITY % booktitles SYSTEM "booktitles.ent">
17185N/A%booktitles;
12366N/A<!ENTITY suncopy "Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved.">
12366N/A]>
18603N/A<?Pub UDT _bookmark _target>
17181N/A<?Pub Inc>
12366N/A<refentry id="intltool-prepare-1">
12366N/A<!-- %Z%%M% %I% %E% SMI; -->
12366N/A<refmeta><refentrytitle>intltool-prepare</refentrytitle><manvolnum>1</manvolnum>
18574N/A<refmiscinfo class="date">3 Apr 2003</refmiscinfo>
12366N/A<refmiscinfo class="sectdesc">&man1;</refmiscinfo>
12366N/A<refmiscinfo class="software">&release;</refmiscinfo>
12366N/A<refmiscinfo class="arch">generic</refmiscinfo>
12366N/A<refmiscinfo class="copyright">&suncopy;</refmiscinfo>
18543N/A</refmeta>
16738N/A<indexterm><primary>intltool-prepare</primary></indexterm><indexterm><primary>
16861N/Aupdate <filename>pot</filename> files and merge the <filename>pot</filename>
17585N/Afiles with translation (<filename>po</filename>) files</primary></indexterm>
16861N/A<refnamediv id="intltool-prepare-1-name"><refname>intltool-prepare</refname><refpurpose>
12366N/Aupdate <filename>pot</filename> files and merge the <filename>pot</filename>
12366N/Afiles with translation (<filename>po</filename>) files</refpurpose></refnamediv>
12366N/A<refsynopsisdiv id="intltool-prepare-1-synp"><title>&synp-tt;</title>
12366N/A<cmdsynopsis><command>&cmd;</command><arg choice="opt"><option>-help</option></arg>
12366N/A<arg choice="opt"><option>-verbose</option></arg><arg choice="opt"><option>
12384N/A-version</option></arg><arg choice="plain"><replaceable>keyword</replaceable></arg>
15362N/A</cmdsynopsis></refsynopsisdiv>
12366N/A<refsect1 id="intltool-prepare-1-desc"><title>&desc-tt;</title>
12366N/A<para><command>&cmd;</command> opens the source files and header files that
12366N/Aare specified in the <filename>po/POTFILES</filename> files, to search for
12366N/Astrings that have been marked for translation, and updates the <filename>
12366N/A.pot</filename> files. <command>&cmd;</command> then merges the <filename>
12366N/A.pot</filename> files with the translation (<filename>.po</filename>) files.
12366N/A</para>
12366N/A</refsect1>
12366N/A<refsect1 id="intltool-prepare-1-opts"><title>&opts-tt;</title>
15362N/A<para>The following options are supported:</para>
12366N/A<variablelist termlength="narrow"><varlistentry><term><option>-help</option></term>
13400N/A<listitem><para>Show usage and basic help information. You can also use <option>
13400N/AH</option> to specify this option.</para>
16861N/A</listitem></varlistentry>
17585N/A<varlistentry><term><option>-verbose</option></term><listitem><para>Provide
12384N/Aadditional feedback. You can also use <option>X</option> to specify this option.
12366N/A</para>
12366N/A</listitem></varlistentry>
12366N/A<varlistentry><term><option>-version</option></term><listitem><para>Show version
12366N/Ainformation. You can also use <option>V</option> to specify this option.</para>
12366N/A</listitem></varlistentry>
12366N/A</variablelist></refsect1>
12366N/A<refsect1 id="intltool-prepare-1-oper"><title>&oper-tt;</title>
12366N/A<para>The following operands are supported:</para>
12366N/A<variablelist termlength="narrow"><varlistentry><term><option role="nodash"><replaceable>
12366N/Akeyword</replaceable></option></term><listitem><para>Specifies an extra key,
12366N/Ain addition to Name, Comment, and description.</para>
12366N/A</listitem></varlistentry>
12366N/A</variablelist></refsect1>
12366N/A<refsect1 id="intltool-prepare-1-exam"><title>&exam-tt;</title>
12366N/A<example role="example"><title>Updating the .pot File in the po Directory
12384N/Aand Merging the .pot File With the .po Files in That Directory</title>
12384N/A<para><screen>example% <userinput>cd /po
12384N/A&cmd; </userinput>
12384N/A<computeroutput>Working, please wait...
12384N/AFinding interesting files...done</computeroutput></screen></para>
12366N/A</example>
12366N/A</refsect1>
18574N/A<refsect1 id="intltool-prepare-1-exit"><title>&exit-tt;</title>
18574N/A<para>The following exit values are returned:</para>
18515N/A<variablelist termlength="xtranarrow"><varlistentry><term><returnvalue>0</returnvalue></term>
18515N/A<listitem><para>Application exited successfully</para>
18462N/A</listitem></varlistentry>
18462N/A<varlistentry><term><returnvalue>>0</returnvalue></term><listitem><para>Application
17585N/Aexited with failure</para>
17585N/A</listitem></varlistentry>
17585N/A</variablelist></refsect1>
17585N/A<refsect1 id="intltool-prepare-1-file"><title>&file-tt;</title>
17585N/A<para>The following files are used by this application:</para>
16861N/A<variablelist termlength="wide"><varlistentry><term><filename>/usr/bin/&cmd;</filename>
16861N/A</term><listitem><para>The command-line executable for the application.</para>
16832N/A</listitem></varlistentry>
16832N/A</variablelist></refsect1>
16801N/A<refsect1 id="intltool-prepare-1-attr"><title>&attr-tt;</title>
16801N/A<para>See <olink targetdocent="REFMAN5" localinfo="attributes-5"><citerefentry>
16739N/A<refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry></olink>
16739N/Afor descriptions of the following attributes:</para>
16717N/A<informaltable frame="all">
16717N/A<tgroup cols="2" colsep="1" rowsep="1"><colspec colname="COLSPEC0" colwidth="1*">
16191N/A<colspec colname="COLSPEC1" colwidth="1*">
16191N/A<thead>
16145N/A<row><entry align="center" valign="middle">ATTRIBUTE TYPE</entry><entry align="center"
16145N/Avalign="middle">ATTRIBUTE VALUE</entry></row>
15844N/A</thead>
15844N/A<tbody>
15634N/A<row><entry><para>Availability</para></entry><entry><para>developer/gnome/gettext
15634N/A</para></entry></row>
15362N/A<row><entry colname="COLSPEC0"><para>Interface stability</para></entry><entry
15362N/Acolname="COLSPEC1"><para>Volatile</para></entry></row>
14361N/A</tbody>
14361N/A</tgroup>
14361N/A</informaltable>
13990N/A</refsect1>
13990N/A<refsect1 id="intltool-prepare-1-also"><title>&also-tt;</title>
13829N/A<!--Reference to another man page-->
13829N/A<!--Reference to a Help manual-->
13780N/A<!--Reference to a book.-->
13780N/A<para><citerefentry><refentrytitle>intltool-extract</refentrytitle><manvolnum>
13697N/A1</manvolnum></citerefentry>, <citerefentry><refentrytitle>intltool-merge
13697N/A</refentrytitle><manvolnum>1</manvolnum></citerefentry>, <citerefentry><refentrytitle>
13594N/Aintltool-unicodify</refentrytitle><manvolnum>1</manvolnum></citerefentry>, <citerefentry>
13594N/A<refentrytitle>intltool-update</refentrytitle><manvolnum>1</manvolnum></citerefentry>, <citerefentry>
13589N/A<refentrytitle>intltoolize</refentrytitle><manvolnum>1</manvolnum></citerefentry></para>
13584N/A</refsect1>
13584N/A<refsect1 id="intltool-prepare-1-note"><title>&note-tt;</title>
13533N/A<para>For more information, see the <filename>I18N-HOWTO</filename> file,
13533N/Awhich is provided with the <application>intltool</application> source code.
12746N/A</para>
12746N/A<para>Updated by Damien Donlon, Sun Microsystems Inc., 2003. Written by Darin
12538N/AAdler, Kenneth Christiansen, Maciej Stachowiak.</para>
12538N/A</refsect1>
12538N/A</refentry>
12451N/A