Text::Pipe::Translate - Translate text from one language to another
version 1.100890
use Text::Pipe 'PIPE'; my $pipe = PIPE 'Translate::Babelfish', from => 'en', to => 'de'; my $german = $pipe->filter('My hovercraft is full of eels.'),
This pipe segment can translate text from one language to another. To do so it uses Lingua::Translate.
Both source and destination language are to be given in RFC3066 form. See I18N::LangTags.
Constructs a translator object for the current settings of from() and to() and caches it using the translators() accessor.
from()
to()
translators()
Takes a string and translates it according to the current settings of from() and to().
See perlmodinstall for information and options on installing Perl modules.
No bugs have been reported.
Please report any bugs or feature requests through the web interface at http://rt.cpan.org/Public/Dist/Display.html?Name=Text-Pipe-Translate.
The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit http://www.perl.com/CPAN/ to find a CPAN site near you, or see http://search.cpan.org/dist/Text-Pipe-Translate/.
The development version lives at http://github.com/hanekomu/Text-Pipe-Translate/. Instead of sending patches, please fork this project using the standard git and github infrastructure.
Marcel Gruenauer <marcel@cpan.org>
This software is copyright (c) 2007 by Marcel Gruenauer.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Text::Pipe::Translate, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::Pipe::Translate
CPAN shell
perl -MCPAN -e shell install Text::Pipe::Translate
For more information on module installation, please visit the detailed CPAN module installation guide.