~ubuntu-branches/ubuntu/lucid/gnome-doc-utils/lucid

« back to all changes in this revision

Viewing changes to xml2po/xml2po.1.xml

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2005-12-19 08:34:21 UTC
  • mto: (2.1.1 etch) (1.1.18 upstream)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20051219083421-k72rkh3n6vox1c0t
Tags: upstream-0.5.2
ImportĀ upstreamĀ versionĀ 0.5.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?xml version='1.0' encoding='UTF-8'?>
 
2
<?xml-stylesheet type="text/xsl"
 
3
   href="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"?>
2
4
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3
5
"http://docbook.org/xml/4.3/docbookx.dtd" [
4
6
 
128
130
                                </term>
129
131
                                <listitem>
130
132
                                        <para>
131
 
                                                Print resulting text (XML or POT) to the given file.
 
133
                                                Print resulting text (XML while merging translations 
 
134
                                                with "-p" or "-t" options, POT template file while 
 
135
                                                extracting strings, and translated PO file with "-r" 
 
136
                                                option) to the given FILE.
132
137
                                        </para>
133
138
                                </listitem>
134
139
                        </varlistentry>
139
144
                                </term>
140
145
                                <listitem>
141
146
                                        <para>
142
 
                                                Specify PO file containing translation, and merge.
143
 
                                                Using this option will overwrites the temporary
 
147
                                                Specify a PO FILE containing translation and output 
 
148
                                                XML document with translations merged in.
 
149
                                                Using this option will overwrite the temporary
144
150
                                                file <filename>.xml2po.mo</filename>.
145
151
                                        </para>
146
152
                                </listitem>
152
158
                                </term>
153
159
                                <listitem>
154
160
                                        <para>
155
 
                                                Specify a translated XML file with the same structure ...
 
161
                                                Specify a translated XML document in FILE with the 
 
162
                                                same structure to generate translated PO file for
 
163
                                                XML document given on command line. 
156
164
                                        </para>
157
165
                                </listitem>
158
166
                        </varlistentry>
163
171
                                </term>
164
172
                                <listitem>
165
173
                                        <para>
166
 
                                                Specify a MO file containing translation and merge it with ...
 
174
                                                Specify a MO file containing translation and output 
 
175
                                                XML document with translations merged in.
167
176
                                        </para>
168
177
                                </listitem>
169
178
                        </varlistentry>
180
189
                        </varlistentry>
181
190
                        <varlistentry>
182
191
                                <term>
 
192
                                        <option>-l</option>,
 
193
                                        <option>--language=<replaceable>LANG</replaceable></option>
 
194
                                </term>
 
195
                                <listitem>
 
196
                                        <para>
 
197
                                                Explicitely set language of the translation.
 
198
                                        </para>
 
199
                                </listitem>
 
200
                        </varlistentry>
 
201
                        <varlistentry>
 
202
                                <term>
183
203
                                        <option>-h</option>,
184
204
                                        <option>--help</option>
185
205
                                </term>
261
281
                                update your translation. Alternatively, <command>xml2po</command>
262
282
                                provides the <option>-u</option> option, which does exactly these two steps for
263
283
                                you. The advantage is, that it also runs <command>msgfmt</command> to give you
264
 
                                a statistical output of translation status (untranslated, fuzzy, ...). Additionally
265
 
                                use the <option>-e</option> if you decided earlier to expand entities:
 
284
                                a statistical output of translation status (count of translated, untranslated 
 
285
                                and fuzzy messages). Additionally use the <option>-e</option> if you decided 
 
286
                                earlier to expand entities:
266
287
                        </para>
267
288
                        <programlisting>
268
289
                                <command>/usr/bin/xml2po</command> <option>-u</option> LANG.po book.xml