2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<!--ArborText, Inc., 1988-1999, v.4002-->
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<!--ARC : LSARC 2003/030 GNOME 2.x intltool-->
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<!ENTITY cmd "intltool-merge">
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<!ENTITY % commonents SYSTEM "smancommon.ent">
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo%commonents;
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<!ENTITY % booktitles SYSTEM "booktitles.ent">
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo%booktitles;
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<!ENTITY suncopy "Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved.">
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo]>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<?Pub UDT _bookmark _target>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<?Pub Inc>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<refentry id="intltool-merge-1">
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<!-- %Z%%M% %I% %E% SMI; -->
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<refmeta><refentrytitle>intltool-merge</refentrytitle><manvolnum>1</manvolnum>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<refmiscinfo class="date">3 Apr 2003</refmiscinfo>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<refmiscinfo class="sectdesc">&man1;</refmiscinfo>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<refmiscinfo class="software">&release;</refmiscinfo>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<refmiscinfo class="arch">generic</refmiscinfo>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<refmiscinfo class="copyright">&suncopy;</refmiscinfo>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</refmeta>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<indexterm><primary>intltool-merge</primary></indexterm><indexterm><primary>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoomerge translated strings into various file types, such as XML</primary></indexterm>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<refnamediv id="intltool-merge-1-name"><refname>intltool-merge</refname><refpurpose>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoomerge translated strings into various file types, such as XML</refpurpose>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</refnamediv>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<refsynopsisdiv id="intltool-merge-1-synp"><title>&synp-tt;</title>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<cmdsynopsis><command>&cmd;</command><arg choice="opt"><option>-desktop-style
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</option></arg><arg choice="opt"><option>-help</option></arg><arg choice="opt"><option>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo-keys-style</option></arg><arg choice="opt"><option>-oaf-style</option></arg>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<arg choice="opt"><option>-pass-through</option></arg><arg choice="opt"><option>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo-quiet</option></arg><arg choice="opt"><option>-utf8</option></arg><arg choice="opt"><option>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo-version</option></arg><arg choice="opt"><option>-xml-style</option></arg>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<arg choice="plain"><replaceable>po-directory</replaceable></arg><arg choice="plain"><replaceable>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoofilename</replaceable></arg><arg choice="plain"><replaceable>output-file</replaceable></arg>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</cmdsynopsis></refsynopsisdiv>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<refsect1 id="intltool-merge-1-desc"><title>&desc-tt;</title>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<para><command>&cmd;</command> merges translated strings in <filename>.po
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</filename> files in <replaceable>po-directory</replaceable> with the original
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yooapplication file <filename><replaceable>filename</replaceable></filename>,
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yooto create the file <filename><replaceable>output-file</replaceable></filename>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoowhich contains both the original and the localized strings. Afterwards, the
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yooapplication XML file contains repeated xml-nodes, where each xml&mdash;node
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoocontains one of all translations and an <literal>xml:lang</literal> attribute.
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</refsect1>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<refsect1 id="intltool-merge-1-opts"><title>&opts-tt;</title>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<para>The following options are supported:</para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<variablelist termlength="narrow"><varlistentry><term><option>-desktop-style
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</option></term><listitem><para>Include translations in the desktop style.
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae YooYou can also use <option>d</option> to specify this option.</para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</listitem></varlistentry>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<varlistentry><term><option>-help</option></term><listitem><para>Show usage
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yooand basic help information. You can also use <option>h</option> to specify
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoothis option.</para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</listitem></varlistentry>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<varlistentry><term><option>-keys-style</option></term><listitem><para>Include
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yootranslations in the keys style. You can also use <option>k</option> to specify
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoothis option.</para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</listitem></varlistentry>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<varlistentry><term><option>-oaf-style</option></term><listitem><para>Include
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yootranslations in the oaf style. You can also use <option>o</option> to specify
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoothis option.</para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</listitem></varlistentry>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<varlistentry><term><option>-pass-through</option></term><listitem><para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae YooUse strings as found in <filename>.po</filename> files, without conversion
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo(not recommended). You can also use <option>p</option> to specify this option.
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</listitem></varlistentry>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<varlistentry><term><option>-quiet</option></term><listitem><para>Operate
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yooin quiet mode; do not provide feedback. You can also use <option>q</option>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yooto specify this option.</para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</listitem></varlistentry>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<varlistentry><term><option>-schemas-style</option></term><listitem><para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae YooInclude translations in the schemas style. You can also use <option>s</option>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yooto specify this option.</para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</listitem></varlistentry>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<varlistentry><term><option>-utf8</option></term><listitem><para>Convert all
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoostrings to UTF-8 encoding before merging. You can also use <option>u</option>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yooto specify this option.</para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</listitem></varlistentry>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<varlistentry><term><option>-version</option></term><listitem><para>Show version
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yooinformation. You can also use <option>v</option> to specify this option.</para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</listitem></varlistentry>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<varlistentry><term><option>-xml-style</option></term><listitem><para>Include
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yootranslations in the standard XML style. You can also use <option>x</option>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yooto specify this option.</para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</listitem></varlistentry>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</variablelist></refsect1>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<refsect1 id="intltool-merge-1-oper"><title>&oper-tt;</title>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<para>The following operands are supported:</para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<variablelist termlength="narrow"><varlistentry><term><option role="nodash"><replaceable>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoopo-directory</replaceable></option></term><listitem><para>Specifies the location
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yooof the translated <filename>.po</filename> files.</para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</listitem></varlistentry>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<varlistentry><term><option role="nodash"><replaceable>filename</replaceable></option></term>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<listitem><para>Specifies the name of the original application file.</para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</listitem></varlistentry>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<varlistentry><term><option role="nodash"><replaceable>output-file</replaceable></option></term>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<listitem><para>Specifies the name of the file to be created by the <command>&cmd;</command>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoocommand, to contain both the original and the localized strings.</para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</listitem></varlistentry>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</variablelist></refsect1>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<refsect1 id="intltool-merge-1-exam"><title>&exam-tt;</title>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<example role="example"><title>Merging the Contents of the Translated .po
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae YooFiles in the po Directory With the Original File foo.desktop.in to Create
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoofoo.desktop</title>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<para><screen>example% <userinput>&cmd; /po foo.desktop.in foo.desktop <option>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yood</option> <option>u</option></userinput></screen></para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</example>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</refsect1>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<refsect1 id="intltool-merge-1-exit"><title>&exit-tt;</title>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<para>The following exit values are returned:</para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<variablelist termlength="xtranarrow"><varlistentry><term><returnvalue>0</returnvalue></term>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<listitem><para>Application exited successfully</para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</listitem></varlistentry>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<varlistentry><term><returnvalue>>0</returnvalue></term><listitem><para>Application
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yooexited with failure</para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</listitem></varlistentry>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</variablelist></refsect1>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<refsect1 id="intltool-merge-1-file"><title>&file-tt;</title>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<para>The following files are used by this application:</para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<variablelist termlength="medium"><varlistentry><term><filename>/usr/bin/&cmd;</filename>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</term><listitem><para>The command-line executable for the application.</para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</listitem></varlistentry>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</variablelist></refsect1>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<refsect1 id="intltool-merge-1-attr"><title>&attr-tt;</title>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<para>See <olink targetdocent="REFMAN5" localinfo="attributes-5"><citerefentry>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry></olink>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoofor descriptions of the following attributes:</para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<informaltable frame="all">
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<tgroup cols="2" colsep="1" rowsep="1"><colspec colname="COLSPEC0" colwidth="1*">
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<colspec colname="COLSPEC1" colwidth="1*">
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<thead>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<row><entry align="center" valign="middle">ATTRIBUTE TYPE</entry><entry align="center"
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoovalign="middle">ATTRIBUTE VALUE</entry></row>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</thead>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<tbody>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<row><entry><para>Availability</para></entry><entry><para>developer/gnome/gettext
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</para></entry></row>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<row><entry colname="COLSPEC0"><para>Interface stability</para></entry><entry
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoocolname="COLSPEC1"><para>Volatile</para></entry></row>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</tbody>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</tgroup>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</informaltable>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</refsect1>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<refsect1 id="intltool-merge-1-also"><title>&also-tt;</title>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<!--Reference to another man page-->
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<!--Reference to a Help manual-->
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<!--Reference to a book.-->
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<para><citerefentry><refentrytitle>intltool-extract</refentrytitle><manvolnum>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo1</manvolnum></citerefentry>, <citerefentry><refentrytitle>intltool-prepare
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</refentrytitle><manvolnum>1</manvolnum></citerefentry>, <citerefentry><refentrytitle>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoointltool-unicodify</refentrytitle><manvolnum>1</manvolnum></citerefentry>, <citerefentry>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<refentrytitle>intltool-update</refentrytitle><manvolnum>1</manvolnum></citerefentry>, <citerefentry>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<refentrytitle>intltoolize</refentrytitle><manvolnum>1</manvolnum></citerefentry></para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</refsect1>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<refsect1 id="intltool-merge-1-note"><title>&note-tt;</title>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<para>For more information, see the <filename>I18N-HOWTO</filename> file,
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoowhich is provided with the <application>intltool</application> source code.
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<para>Updated by Damien Donlon, Sun Microsystems Inc., 2003. Written by Darin
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae YooAdler, Kenneth Christiansen, Maciej Stachowiak.</para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</refsect1>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</refentry>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo