1. NAME

Locale::Po4a::Text - convert text documents from/to PO files

2. 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.

Locale::Po4a::Text is a module to help the translation of text documents into other [human] languages.

Paragraphs are split on empty lines (or lines containing only spaces or tabulations).

If a paragraph contains a line starting by a space (or tabulation), this paragraph won't be rewrapped.

3. OPTIONS ACCEPTED BY THIS MODULE

These are this module's particular options:

nobullets 4 Deactivate detection of bullets. .Sp By default, when a bullet is detected, the bullet paragraph is not considered as a verbatim paragraph (with the no-wrap flag in the PO file), but the module rewrap this paragraph in the generated PO file and in the translation.

tabs=mode 4 Specify how tabulations shall be handled. The mode can be any of:

split 4 Lines with tabulations introduce breaks in the current paragraph.

verbatim 4 Paragraph containing tabulations will not be re-wrapped.
    .Sp By default, tabulations are considered as spaces.

breaks=regex 4 A regular expression matching lines which introduce breaks. The regular expression will be anchored so that the whole line must match.

debianchangelog 4 Handle the header and footer of released versions, which only contain non translatable informations.

fortunes 4 Handle the fortunes format, which separate fortunes with a line which consists in '%' or '%%', and use '%%' as the beginning of a comment.

markdown 4 Handle some special markup in Markdown-formatted texts.

asciidoc 4 Handle documents in the AsciiDoc format.

4. STATUS OF THIS MODULE

Tested successfully on simple text files and NEWS.Debian files.

5. AUTHORS

Nicolas Franc\*,ois <>

6. COPYRIGHT AND LICENSE

Copyright 2005-2008 by Nicolas FRANC\*,OIS <>.

This program is free software; you may redistribute it and/or modify it under the terms of GPL (see the COPYING file).