Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

locale::po4a::text(3) [centos man page]

Locale::Po4a::Text(3)					User Contributed Perl Documentation				     Locale::Po4a::Text(3)

NAME
Locale::Po4a::Text - convert text documents from/to PO files 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. OPTIONS ACCEPTED BY THIS MODULE
These are this module's particular options: nobullets Deactivate detection of bullets. 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 rewraps this paragraph in the generated PO file and in the translation. tabs=mode Specify how tabulations shall be handled. The mode can be any of: split Lines with tabulations introduce breaks in the current paragraph. verbatim Paragraph containing tabulations will not be re-wrapped. By default, tabulations are considered as spaces. breaks=regex A regular expression matching lines which introduce breaks. The regular expression will be anchored so that the whole line must match. debianchangelog Handle the header and footer of released versions, which only contain non translatable informations. fortunes Handle the fortunes format, which separate fortunes with a line which consists in '%' or '%%', and use '%%' as the beginning of a comment. markdown Handle some special markup in Markdown-formatted texts. asciidoc Handle documents in the AsciiDoc format. control[=taglist] Handle control files. A comma-separated list of tags to be translated can be provided. STATUS OF THIS MODULE
Tested successfully on simple text files and NEWS.Debian files. AUTHORS
Nicolas Francois <nicolas.francois@centraliens.net> COPYRIGHT AND LICENSE
Copyright 2005-2008 by Nicolas FRANCOIS <nicolas.francois@centraliens.net>. This program is free software; you may redistribute it and/or modify it under the terms of GPL (see the COPYING file). perl v5.16.3 2014-06-10 Locale::Po4a::Text(3)

Check Out this Related Man Page

Locale::Po4a::Common(3) 				User Contributed Perl Documentation				   Locale::Po4a::Common(3)

NAME
Locale::Po4a::Common - common parts of the po4a scripts and utils DESCRIPTION
Locale::Po4a::Common contains common parts of the po4a scripts and some useful functions used along the other modules. In order to use Locale::Po4a programatically, one may want to disable the use of Text::WrapI18N, by writing e.g. use Locale::Po4a::Common qw(nowrapi18n); use Locale::Po4a::Text; instead of: use Locale::Po4a::Text; Ordering is important here: as most Locale::Po4a modules themselves load Locale::Po4a::Common, the first time this module is loaded determines whether Text::WrapI18N is used. FUNCTIONS
Showing output messages o show_version($) Shows the current version of the script, and a short copyright message. It takes the name of the script as an argument. o wrap_msg($@) This function displays a message the same way than sprintf() does, but wraps the result so that they look nice on the terminal. o wrap_mod($$@) This function works like wrap_msg(), but it takes a module name as the first argument, and leaves a space at the left of the message. o wrap_ref_mod($$$@) This function works like wrap_msg(), but it takes a file:line reference as the first argument, a module name as the second one, and leaves a space at the left of the message. Wrappers for other modules o Locale::Gettext When the Locale::Gettext module cannot be loaded, this module provide dummy (empty) implementation of the following functions. In that case, po4a messages won't get translated but the program will continue to work. If Locale::gettext is present, this wrapper also calls setlocale(LC_MESSAGES, "") so callers don't depend on the POSIX module either. o bindtextdomain($$) o textdomain($) o gettext($) o dgettext($$) AUTHORS
Jordi Vilalta <jvprat@gmail.com> COPYRIGHT AND LICENSE
Copyright 2005 by SPI, inc. This program is free software; you may redistribute it and/or modify it under the terms of GPL (see the COPYING file). perl v5.14.2 2012-05-17 Locale::Po4a::Common(3)
Man Page