1PO4A-UPDATEPO(1) User Contributed Perl Documentation PO4A-UPDATEPO(1)
2
3
4
6 po4a-updatepo - update the translation (in po format) of documentation
7
9 po4a-updatepo -f <fmt> (-m <master.doc>)+ (-p <XX.po>)+
10
11 (XX.po are the outputs, all others are inputs)
12
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
19 them reflect the changes made to the original documentation file. For
20 that, it converts the documentation file to a pot file, and call msg‐
21 merge(1) 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-stan‐
30 dard characters in a culture independent way.
31
33 -f, --format
34 Format of the documentation you want to handle. Use the --help-for‐
35 mat 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 inter‐
50 nal module. Specify each option in the 'name=value' format. See
51 the documentation of each plugin for more information about the
52 valid options and their meanings.
53
54 --previous
55 This option adds '--previous' to the options passed to msgmerge.
56 It requires gettext 0.16 or later.
57
58 --msgmerge-opt options
59 Extra options for msgmerge.
60
61 -h, --help
62 Show a short help message.
63
64 --help-format
65 List the documentation format handled by po4a.
66
67 -V, --version
68 Display the version of the script and exit.
69
70 -v, --verbose
71 Increase the verbosity of the program.
72
73 -d, --debug
74 Output some debugging information.
75
77 po4a(7), po4a-gettextize(1), po4a-translate(1), po4a-normalize(1).
78
80 Denis Barbier <barbier@linuxfr.org>
81 Martin Quinson (mquinson#debian.org)
82
84 Copyright 2002, 2003, 2004, 2005 by SPI, inc.
85
86 This program is free software; you may redistribute it and/or modify it
87 under the terms of GPL (see the COPYING file).
88
89
90
91perl v5.8.8 2008-06-01 PO4A-UPDATEPO(1)