1PO4A-UPDATEPO(1p)                 Po4a Tools                 PO4A-UPDATEPO(1p)
2
3
4

NAME

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

SYNOPSIS

9       po4a-updatepo -f fmt (-m master.docE)+ (-p XX.po)+
10
11       (XX.po are the outputs, all others are inputs)
12

DESCRIPTION

14       The po4a (PO for anything) project goal is to ease translations (and
15       more interestingly, the maintenance of translations) using gettext
16       tools on areas where they were not expected like documentation.
17
18       The po4a-updatepo script is in charge of updating PO files to make them
19       reflect the changes made to the original documentation file. For that,
20       it converts the documentation file to a POT file, and call msgmerge(1)
21       on this new POT and on the provided PO files.
22
23       It is possible to give more than one PO file (if you want to update
24       several languages at once), and several documentation files (if you
25       want to store the translations of several documents in the same PO
26       file).
27
28       If the master document has non-ASCII characters, it will convert the PO
29       files to UTF-8 (if they weren't already), in order to allow non-
30       standard characters in a culture independent way.
31

OPTIONS

33       -f, --format
34           Format of the documentation you want to handle. Use the
35           --help-format option to see the list of available formats.
36
37       -m, --master
38           File(s) containing the master document to translate.
39
40       -M, --master-charset
41           Charset of the files containing the document to translate. Note
42           that all files must have the same charset.
43
44       -p, --po
45           PO file(s) to update. If these files do not exist, they are created
46           by po4a-updatepo.
47
48       -o, --option
49           Extra option(s) to pass to the format plugin and other po4a
50           internal module.  Specify each option in the 'name=value' format.
51           See the documentation of each plugin for more information about the
52           valid options and their meanings.
53
54       --no-previous
55           This option removes --previous from the options passed to msgmerge.
56           This permits to support versions of gettext earlier than 0.16.
57
58       --previous
59           This option adds --previous to the options passed to msgmerge.  It
60           requires gettext 0.16 or later, and is activated by default.
61
62       --msgmerge-opt options
63           Extra options for msgmerge.
64
65       -h, --help
66           Show a short help message.
67
68       --help-format
69           List the documentation formats understood by po4a.
70
71       -V, --version
72           Display the version of the script and exit.
73
74       -v, --verbose
75           Increase the verbosity of the program.
76
77       -d, --debug
78           Output some debugging information.
79
80       porefs type[,wrap|nowrap]
81           Specify the reference format. Argument type can be one of none to
82           not produce any reference, noline to not specify the line number
83           (more accurately all line numbers are replaced by 1), counter to
84           replace line number by an increasing counter, and full to include
85           complete references.
86
87           Argument can be followed by a comma and either wrap or nowrap
88           keyword.  References are written by default on a single line.  The
89           wrap option wraps references on several lines, to mimic gettext
90           tools (xgettext and msgmerge).  This option will become the default
91           in a future release, because it is more sensible.  The nowrap
92           option is available so that users who want to keep the old behavior
93           can do so.
94
95       --msgid-bugs-address email@address
96           Set the report address for msgid bugs. By default, the created POT
97           files have no Report-Msgid-Bugs-To fields.
98
99       --copyright-holder string
100           Set the copyright holder in the POT header. The default value is
101           "Free Software Foundation, Inc."
102
103       --package-name string
104           Set the package name for the POT header. The default is "PACKAGE".
105
106       --package-version string
107           Set the package version for the POT header. The default is
108           "VERSION".
109

SEE ALSO

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

AUTHORS

114        Denis Barbier <barbier@linuxfr.org>
115        Nicolas François <nicolas.francois@centraliens.net>
116        Martin Quinson (mquinson#debian.org)
117
119       Copyright 2002-2012 by SPI, inc.
120
121       This program is free software; you may redistribute it and/or modify it
122       under the terms of GPL (see the COPYING file).
123
124
125
126Po4a Tools                        2014-06-10                 PO4A-UPDATEPO(1p)
Impressum