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.doc)+ (-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 modules.  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(1).
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 never to
82           not produce any reference, file to only specify the file without
83           the line number, counter to replace line number by an increasing
84           counter, and full to include complete references (default: full).
85
86           Argument can be followed by a comma and either wrap or nowrap
87           keyword.  References are written by default on a single line.  The
88           wrap option wraps references on several lines, to mimic gettext
89           tools (xgettext and msgmerge).  This option will become the default
90           in a future release, because it is more sensible.  The nowrap
91           option is available so that users who want to keep the old behavior
92           can do so.
93
94       --msgid-bugs-address email@address
95           Set the report address for msgid bugs. By default, the created POT
96           files have no Report-Msgid-Bugs-To fields.
97
98       --copyright-holder string
99           Set the copyright holder in the POT header. The default value is
100           "Free Software Foundation, Inc."
101
102       --package-name string
103           Set the package name for the POT header. The default is "PACKAGE".
104
105       --package-version string
106           Set the package version for the POT header. The default is
107           "VERSION".
108

SEE ALSO

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

AUTHORS

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