Paws::Translate - Perl Interface to AWS Amazon Translate


  use Paws;

  my $obj = Paws->service('Translate');
  my $res = $obj->Method(
    Arg1 => $val1,
    Arg2 => [ 'V1', 'V2' ],
    # if Arg3 is an object, the HashRef will be used as arguments to the constructor
    # of the arguments type
    Arg3 => { Att1 => 'Val1' },
    # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
    # the constructor of the arguments type
    Arg4 => [ { Att1 => 'Val1'  }, { Att1 => 'Val2' } ],


Provides translation between one source language and another of the same set of languages.

For the AWS API documentation, see



Name => Str

Each argument is described in detail in: Paws::Translate::DeleteTerminology

Returns: nothing

A synchronous action that deletes a custom terminology.


Name => Str
TerminologyDataFormat => Str

Each argument is described in detail in: Paws::Translate::GetTerminology

Returns: a Paws::Translate::GetTerminologyResponse instance

Retrieves a custom terminology.


MergeStrategy => Str
Name => Str
TerminologyData => Paws::Translate::TerminologyData
[Description => Str]
[EncryptionKey => Paws::Translate::EncryptionKey]

Each argument is described in detail in: Paws::Translate::ImportTerminology

Returns: a Paws::Translate::ImportTerminologyResponse instance

Creates or updates a custom terminology, depending on whether or not one already exists for the given terminology name. Importing a terminology with the same name as an existing one will merge the terminologies based on the chosen merge strategy. Currently, the only supported merge strategy is OVERWRITE, and so the imported terminology will overwrite an existing terminology of the same name.

If you import a terminology that overwrites an existing one, the new terminology take up to 10 minutes to fully propagate and be available for use in a translation due to cache policies with the DataPlane service that performs the translations.


[MaxResults => Int]
[NextToken => Str]

Each argument is described in detail in: Paws::Translate::ListTerminologies

Returns: a Paws::Translate::ListTerminologiesResponse instance

Provides a list of custom terminologies associated with your account.


SourceLanguageCode => Str
TargetLanguageCode => Str
Text => Str
[TerminologyNames => ArrayRef[Str|Undef]]

Each argument is described in detail in: Paws::Translate::TranslateText

Returns: a Paws::Translate::TranslateTextResponse instance

Translates input text from the source language to the target language. It is not necessary to use English (en) as either the source or the target language but not all language combinations are supported by Amazon Translate. For more information, see Supported Language Pairs (

  • Arabic (ar)

  • Chinese (Simplified) (zh)

  • Chinese (Traditional) (zh-TW)

  • Czech (cs)

  • Danish (da)

  • Dutch (nl)

  • English (en)

  • Finnish (fi)

  • French (fr)

  • German (de)

  • Hebrew (he)

  • Indonesian (id)

  • Italian (it)

  • Japanese (ja)

  • Korean (ko)

  • Polish (pl)

  • Portuguese (pt)

  • Russian (ru)

  • Spanish (es)

  • Swedish (sv)

  • Turkish (tr)

To have Amazon Translate determine the source language of your text, you can specify auto in the SourceLanguageCode field. If you specify auto, Amazon Translate will call Amazon Comprehend to determine the source language.


Paginator methods are helpers that repetively call methods that return partial results

ListAllTerminologies(sub { },[MaxResults => Int, NextToken => Str])

ListAllTerminologies([MaxResults => Int, NextToken => Str])

If passed a sub as first parameter, it will call the sub for each element found in :

 - TerminologyPropertiesList, passing the object as the first parameter, and the string 'TerminologyPropertiesList' as the second parameter 

If not, it will return a a Paws::Translate::ListTerminologiesResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.


This service class forms part of Paws


The source code is located here:

Please report bugs to: