po4a-normalize.1p - Man Page

normalize a documentation file by parsing it in po4a, and writing it back

Synopsis

po4a-normalize -f fmt master.doc

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 po4a-normalize script is a debugging tool used to make sure that po4a don't change the document when it's not supposed to. Only use it if you're developing a new module, or if you doubt the sanity of the tools.

The generated document will be written to po4a-normalize.output while the generated POT file will be written to po4a-normalize.po by default, but  you can use the --localized and --pot options to change that.

Options

-o,  --option

Extra option(s) to pass to the format plugin. See the documentation of each plugin for more information about the valid options and their meanings. For  example, you could pass '-o tablecells' to the AsciiDoc parser, while the  text parser would accept '-o tabs=split'.

-b,  --blank

Create an blank translated document. The generated translated document will be generated assuming all messages are translated by a space or new line.

This is useful to check what parts of the document cannot be translated.

-h,  --help

Show a short help message.

--help-format

List the documentation formats understood by po4a.

-f,  --format

Format of the documentation you want to handle. Use the --help-format option to see the list of available formats.

-M,  --master-charset

Charset of the file containing the document to translate.

-l,  --localized

Name of the normalized file to produce (po4a-normalize.output by default).

-p,  --pot

Pot file to produce (po4a-normalize.po by default).

-V,  --version

Display the version of the script and exit.

See Also

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

Authors

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

Referenced By

po4a(7), po4a-gettextize.1p(1), po4a-translate.1p(1), po4a-updatepo.1p(1).

2024-03-11 perl v5.38.2 User Contributed Perl Documentation