NAME

Text::I18N - Simple multi language markup

SYNOPSIS

use Text::I18N;
my $t = Text::I18N->new( \<<"");
de:
Hallo
en:
Hello

$t->parse( \<<"");
no:
Skol

my @langtags = $t->langtags;
my $text = $t->extract('de');
print $t->dump;

DESCRIPTION

Simple human editable multi language markup, useful in combination with POD, Wikitext, Textile or HTML.

METHODS

append

Append text in specific language.

dump

Dump parsed text.

extract

Extract text in specific language.

langtags

Return list of found langtags.

parse

Parse text snippet.

AUTHOR

Sebastian Riedel, sri@cpan.org

COPYRIGHT

This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Locale::Maketext, I18N::LangTags