NAME

Locale::Utils::Autotranslator::ApiMymemoryTranslatedNet - Interface for translated.net

$Id: ApiMymemoryTranslatedNet.pm 523 2014-10-16 05:42:25Z steffenw $

$HeadURL: $

VERSION

0.001

SYNOPSIS

use Locale::Utils::Autotranslator::ApiMymemoryTranslatedNet;

my $obj = Locale::Utils::Autotranslator::ApiMymemoryTranslatedNet->new(
    language => 'de',
    # optional
    debug_code => sub {
        my ( $language, $text ) = @_;
        ...
    },
);
$obj->translate(
    'mydir/de.pot',
    'mydir/de.po',
);

DESCRIPTION

Interface for translated.net

SUBROUTINES/METHODS

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

HTTP::Request::Common

JSON

LWP::UserAgent

Moo

MooX::StrictConstructor

URI

namespace::autoclean

Locale::Utils::Autotranslator

INCOMPATIBILITIES

not known

BUGS AND LIMITATIONS

not known

SEE ALSO

http://en.wikipedia.org/wiki/Gettext

Locale::TextDomain::OO

AUTHOR

Steffen Winkler

LICENSE AND COPYRIGHT

Copyright (c) 2014, 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.