Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

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

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

NAME
Locale::Po4a::Chooser - manage po4a modules DESCRIPTION
Locale::Po4a::Chooser is a module to manage po4a modules. Previously, all po4a binaries used to know all po4a modules (pod, man, sgml, etc). This made the addition of a new module boring, to make sure the documentation is synchronized in all modules, and that each of them can access the new module. Now, you just have to call the Locale::Po4a::Chooser::new() function, passing the name of module as argument. You also have the Locale::Po4a::Chooser::list() function which lists the available formats and exits on the value passed as argument. SEE ALSO
About po4a: Locale::Po4a::Po(3pm), Locale::Po4a::TransTractor(3pm), po4a(7) About modules: Locale::Po4a::Dia(3pm), Locale::Po4a::Docbook(3pm), Locale::Po4a::Guide(3pm), Locale::Po4a::Halibut(3pm), Locale::Po4a::Ini(3pm), Locale::Po4a::KernelHelp(3pm), Locale::Po4a::LaTeX(3pm), Locale::Po4a::Man(3pm), Locale::Po4a::Pod(3pm), Locale::Po4a::Sgml(3pm), Locale::Po4a::TeX(3pm), Locale::Po4a::Texinfo(3pm), Locale::Po4a::Text(3pm), Locale::Po4a::Wml(3pm). Locale::Po4a::Xhtml(3pm), Locale::Po4a::Xml(3pm), Locale::Po4a::Wml(3pm). AUTHORS
Denis Barbier <barbier@linuxfr.org> Martin Quinson (mquinson#debian.org) COPYRIGHT AND LICENSE
Copyright 2002,2003,2004,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.16.3 2014-06-10 Locale::Po4a::Chooser(3)

Check Out this Related Man Page

Pod::UsageTrans(3pm)					User Contributed Perl Documentation				      Pod::UsageTrans(3pm)

NAME
Pod::UsageTrans, pod2usage() - print a usage message from embedded pod documentation SYNOPSIS
use Pod::UsageTrans use Locale::gettext; setlocale(LC_MESSAGES,''); textdomain('prog'); my $message_text = "This text precedes the usage message."; my $exit_status = 2; ## The exit status to use my $verbose_level = 0; ## The verbose level to use my $filehandle = *STDERR; ## The filehandle to write to my $textdomain = 'prog-pod'; ## The gettext domain for the Pod documentation pod2usage($message_text); pod2usage($exit_status); pod2usage( { -message => gettext( $message_text ) , -exitval => $exit_status , -verbose => $verbose_level, -output => $filehandle, -textdomain => $textdomain } ); pod2usage( -msg => $message_text , -exitval => $exit_status , -verbose => $verbose_level, -output => $filehandle, -textdomain => $textdomain ); DESCRIPTION
Pod::UsageTrans works exactly like Pod::Usage but allows you to easily translate your messages. It was specifically written to be compatible with the .po files produced by po4a(7). If you want to use any other method to produce your .po files you should probably take a look at the source of code of this module to see which msgids you will need to use. For documentation on calling pod2usage from your program see Pod::Usage. Pod::UsageTrans additionally supports a "-textdomain" option where you can specify the gettext domain to use. If "-textdomain" isn't set, Pod::UsageTrans will behave exactly like Pod::Usage. BUGS
Pod::UsageTrans is currently in the state of a quickly hacked together solution that was tested with exactly one use case. Expect bugs in corner cases. It specifically doesn't support many of the po4a options like charset conversion between the POD input and the msgstr in the .pot file. SEE ALSO
po4a(7), Pod::Usage, gettext info documentation AUTHOR
Frank Lichtenheld, <frank@lichtenheld.de> Based on Pod::Usage by Brad Appleton <bradapp@enteract.com> which is based on code for Pod::Text::pod2text() written by Tom Christiansen <tchrist@mox.perl.com> Also based on Locale::Po4a::Pod, Locale::Po4a::Po and Locale::Po4a::TransTractor by Martin Quinson and Denis Barbier. perl v5.10.1 2011-04-04 Pod::UsageTrans(3pm)
Man Page