-
-
16 Jul 2017 16:42:19 UTC
- Distribution: Locale-Utils-Autotranslator
- Module version: 1.002
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (0)
- Testers (81 / 0 / 0)
- Kwalitee
Bus factor: 1- License: unknown
- Activity
24 month- Tools
- Download (16.18KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
++ed by:1 non-PAUSE user- Dependencies
- Carp
- Encode
- HTML::Entities
- HTTP::Request::Common
- JSON
- LWP::UserAgent
- Locale::PO
- Locale::TextDomain::OO::Util
- Locale::TextDomain::OO::Util::ExtractHeader
- Moo
- MooX::StrictConstructor
- MooX::Types::MooseLike
- MooX::Types::MooseLike::Base
- MooX::Types::MooseLike::Numeric
- Path::Tiny
- Test::Differences
- Test::Exception
- Test::More
- Test::NoWarnings
- Try::Tiny
- URI
- namespace::autoclean
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
- NAME
- VERSION
- SYNOPSIS
- DESCRIPTION
- SUBROUTINES/METHODS
- EXAMPLE
- DIAGNOSTICS
- CONFIGURATION AND ENVIRONMENT
- DEPENDENCIES
- INCOMPATIBILITIES
- BUGS AND LIMITATIONS
- SEE ALSO
- AUTHOR
- LICENSE AND COPYRIGHT
NAME
Locale::Utils::Autotranslator::ApiMymemoryTranslatedNet - Interface for translated.net
$Id: ApiMymemoryTranslatedNet.pm 649 2017-02-26 06:56:35Z steffenw $
$HeadURL: $
VERSION
1.002
SYNOPSIS
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;
DESCRIPTION
Interface for translated.net
SUBROUTINES/METHODS
method new
see SYNOPSIS
method translate_text
$translated = $object->translate_text($untranslated);
EXAMPLE
Inside of this distribution is a directory named example. Run the *.pl files.
DIAGNOSTICS
none
CONFIGURATION AND ENVIRONMENT
none
DEPENDENCIES
INCOMPATIBILITIES
not known
BUGS AND LIMITATIONS
not known
SEE ALSO
http://en.wikipedia.org/wiki/Gettext
AUTHOR
Steffen Winkler
LICENSE AND COPYRIGHT
Copyright (c) 2014 - 2017, Steffen Winkler
<steffenw at cpan.org>
. All rights reserved.This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Module Install Instructions
To install Locale::Utils::Autotranslator, copy and paste the appropriate command in to your terminal.
cpanm Locale::Utils::Autotranslator
perl -MCPAN -e shell install Locale::Utils::Autotranslator
For more information on module installation, please visit the detailed CPAN module installation guide.