NAME
Locale::Maketext::Lexicon::Gettext - Gettext catalog parser for Maketext
SYNOPSIS
Called via Locale::Maketext::Lexicon:
package Hello::L10N;
use base 'Locale::Maketext';
use Locale::Maketext::Lexicon {de => [Gettext => 'hello_de.po']};
Directly calling parse()
:
use Locale::Maketext::Lexicon::Gettext;
my %Lexicon = Locale::Maketext::Lexicon::Gettext->parse(<DATA>);
__DATA_
#: Hello.pm:10
msgid "Hello, World!"
msgstr "Hallo, Welt!"
DESCRIPTION
This module implements a perl-based Gettext
parser for Locale::Maketext. It transforms all %1
, %2
... sequences to [_1]
, [_2]
, and so on.
SEE ALSO
Locale::Maketext, Locale::Maketext::Lexicon
AUTHORS
Autrijus Tang <autrijus@autrijus.org>
COPYRIGHT
Copyright 2002 by Autrijus Tang <autrijus@autrijus.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.