Locale::Utils::Autotranslator::ApiMymemoryTranslatedNet - Interface for translated.net
$Id: ApiMymemoryTranslatedNet.pm 649 2017-02-26 06:56:35Z steffenw $
$HeadURL: $
1.002
use Locale::Utils::Autotranslator::ApiMymemoryTranslatedNet; my $obj = Locale::Utils::Autotranslator::ApiMymemoryTranslatedNet->new( language => 'de', # all following parameters are optional developer_language => 'en', # en is the default before_translation_code => sub { my ( $self, $msgid ) = @_; ... return 1; # true: translate, false: skip translation }, after_translation_code => sub { my ( $self, $msgid, $msgstr ) = @_; ... return 1; # true: translate, false: skip translation }, user_agent => $my_user_agent, ); $identical_obj = $obj->translate( 'mydir/de.pot', 'mydir/de.po', ); my $translation_count = $obj->translation_count;
Interface for translated.net
see SYNOPSIS
$translated = $object->translate_text($untranslated);
Inside of this distribution is a directory named example. Run the *.pl files.
none
HTTP::Request::Common
JSON
LWP::UserAgent
Moo
MooX::StrictConstructor
URI
namespace::autoclean
Locale::Utils::Autotranslator
not known
http://en.wikipedia.org/wiki/Gettext
Locale::TextDomain::OO
Steffen Winkler
Copyright (c) 2014 - 2017, Steffen Winkler <steffenw at cpan.org>. All rights reserved.
<steffenw at cpan.org>
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Locale::Utils::Autotranslator, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Locale::Utils::Autotranslator
CPAN shell
perl -MCPAN -e shell install Locale::Utils::Autotranslator
For more information on module installation, please visit the detailed CPAN module installation guide.