1PO4A-UPDATEPO(1)      User Contributed Perl Documentation     PO4A-UPDATEPO(1)
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 format handled 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       --msgid-bugs-address email@address
81           Set the report address for msgid bugs. By default, the created POT
82           files have no Report-Msgid-Bugs-To fields.
83
84       --copyright-holder string
85           Set the copyright holder in the POT header. The default value is
86           "Free Software Foundation, Inc."
87
88       --package-name string
89           Set the package name for the POT header. The default is "PACKAGE".
90
91       --package-version string
92           Set the package version for the POT header. The default is
93           "VERSION".
94

SEE ALSO

96       po4a(7), po4a-gettextize(1), po4a-translate(1), po4a-normalize(1).
97

AUTHORS

99        Denis Barbier <barbier@linuxfr.org>
100        Nicolas Francois <nicolas.francois@centraliens.net>
101        Martin Quinson (mquinson#debian.org)
102
104       Copyright 2002-2010 by SPI, inc.
105
106       This program is free software; you may redistribute it and/or modify it
107       under the terms of GPL (see the COPYING file).
108
109
110
111perl v5.12.2                      2010-12-01                  PO4A-UPDATEPO(1)
Impressum