GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PO4A-UPDATEPO (1)

.ds Aq ’

NAME

po4a-updatepo - update the translation (in PO format) of documentation

CONTENTS

SYNOPSIS

<B>po4a-updatepoB> <B>-fB> fmt (<B>-mB> master.docE)+ (<B>-pB> XX.po)+

(XX.po are the outputs, all others are inputs)

DESCRIPTION

The po4a (PO for anything) project goal is to ease translations (and more interestingly, the maintenance of translations) using gettext tools on areas where they were not expected like documentation.

The <B>po4a-updatepoB> script is in charge of updating PO files to make them reflect the changes made to the original documentation file. For that, it converts the documentation file to a POT file, and call msgmerge(1) on this new POT and on the provided PO files.

It is possible to give more than one PO file (if you want to update several languages at once), and several documentation files (if you want to store the translations of several documents in the same PO file).

If the master document has non-ASCII characters, it will convert the PO files to UTF-8 (if they weren’t already), in order to allow non-standard characters in a culture independent way.

OPTIONS

<B>-fB>, <B>--formatB> Format of the documentation you want to handle. Use the <B>--help-formatB> option to see the list of available formats.
<B>-mB>, <B>--masterB> File(s) containing the master document to translate.
<B>-MB>, <B>--master-charsetB> Charset of the files containing the document to translate. Note that all files must have the same charset.
<B>-pB>, <B>--poB> PO file(s) to update. If these files do not exist, they are created by <B>po4a-updatepoB>.
<B>-oB>, <B>--optionB> Extra option(s) to pass to the format plugin and other po4a internal module. Specify each option in the ’name<B>=B>value’ format. See the documentation of each plugin for more information about the valid options and their meanings.
<B>--no-previousB> This option removes <B>--previousB> from the options passed to <B>msgmergeB>. This permits to support versions of <B>gettextB> earlier than 0.16.
<B>--previousB> This option adds <B>--previousB> to the options passed to <B>msgmergeB>. It requires <B>gettextB> 0.16 or later, and is activated by default.
<B>--msgmerge-optB> options Extra options for <B>msgmergeB>.
<B>-hB>, <B>--helpB> Show a short help message.
<B>--help-formatB> List the documentation formats understood by po4a.
<B>-VB>, <B>--versionB> Display the version of the script and exit.
<B>-vB>, <B>--verboseB> Increase the verbosity of the program.
<B>-dB>, <B>--debugB> Output some debugging information.
<B>porefsB> type[,<B>wrapB>|<B>nowrapB>] Specify the reference format. Argument type can be one of <B>noneB> to not produce any reference, <B>nolineB> to not specify the line number (more accurately all line numbers are replaced by 1), <B>counterB> to replace line number by an increasing counter, and <B>fullB> to include complete references.

Argument can be followed by a comma and either <B>wrapB> or <B>nowrapB> keyword. References are written by default on a single line. The <B>wrapB> option wraps references on several lines, to mimic <B>gettextB> tools (<B>xgettextB> and <B>msgmergeB>). This option will become the default in a future release, because it is more sensible. The <B>nowrapB> option is available so that users who want to keep the old behavior can do so.

<B>--msgid-bugs-addressB> email@address Set the report address for msgid bugs. By default, the created POT files have no Report-Msgid-Bugs-To fields.
<B>--copyright-holderB> string Set the copyright holder in the POT header. The default value is Free Software Foundation, Inc.
<B>--package-nameB> string Set the package name for the POT header. The default is PACKAGE.
<B>--package-versionB> string Set the package version for the POT header. The default is VERSION.

SEE ALSO

po4a-gettextize(1), po4a-normalize(1), po4a-translate(1), po4a(7)

AUTHORS



 Denis Barbier <barbier@linuxfr.org>
 Nicolas François <nicolas.francois@centraliens.net>
 Martin Quinson (mquinson#debian.org)



COPYRIGHT AND LICENSE

Copyright 2002-2012 by SPI, inc.

This program is free software; you may redistribute it and/or modify it under the terms of GPL (see the COPYING file).

Search for    or go to Top of page |  Section 1 |  Main Index


Po4a Tools PO4A-UPDATEPO (1p) 2016-04-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.