AWSTranslate Task Parameters
The AWSTranslate
task uses Amazon Web Services (AWS) to translate text from one language to another. For more information about this service, see https://aws.amazon.com/translate/.
The document content and fields that you choose to translate are overwritten (the translated text replaces the source text).
Micro Focus recommends using the language detection task to identify the source language. The document field or content that you want to translate must not exceed 5000 characters, so Micro Focus recommends running the sectioner task before the translation task.
To run translation, use the Post
parameter to run the AWSTranslate
task and specify the name of a configuration section that contains the settings for the task. For example:
[ImportTasks] Post0=LangDetect:LangDetectOptions Post1=Sectioner:SectioningOptions Post2=AWSTranslate:AWSTranslateOptions [AWSTranslateOptions] AwsTranslateAccessKey=DEFGHI09876 AwsTranslateSecretKey=ABCDE12345 AwsTranslateRegion=us-east-1 AwsTranslateTargetLanguage=ENGLISH AwsTranslateSourceLanguageField=DetectedLanguage AwsTranslateMetadataFields=TranslateMe AwsTranslateContent=true SSLMethod=Negotiate