Amazon Translate is a text translation service that uses machine learning technologies to provide translation on demand. You can use Amazon Translate to translate unstructured text documents or to build applications that work in multiple languages.
Questions tagged [amazon-translate]
20 questions
2
votes
1 answer
Validation error: There are unrecognized header names. Check documentation for allowed header names
I am getting the validation error during custom vocabulary creation in Amazon transcribe service
I have created below text file to configure custom vocabulary. I am getting this validation error.
Validation error: There are unrecognized header…

Bala venkatesh
- 273
- 2
- 11
1
vote
0 answers
How to use AWS Polly with streaming transcription and translate to get real-time audio translation?
I want to implement audio translation to a conference web app.
I am thinking about using three AWS services for this (streaming transcribe, translate and Polly).
All the examples provided in AWS documentation are based on a single line of text being…

HM Moniruzzaman
- 135
- 1
- 11
1
vote
1 answer
How to translate AXIOS responses using Amazon Translate or Google Translate in React?
I am trying to convert Axios JSON responses in React i.e
axios.get('https://jsonplaceholder.typicode.com/users')
.then(res => {
...translation_logic_here
setUsers(translatedJson)
})
I am…

Praveen KJ
- 630
- 2
- 11
- 22
1
vote
1 answer
aws-sdk-js for translate client results an error "cannot read property 'byteLength' of undefined"
I run the AWS SDK V3 Translate Client in Node.js application to translate a sentence. This is my code:
const { TranslateClient, CreateParallelDataCommand } = require("@aws-sdk/client-translate");
const client = new TranslateClient({
region:…

Luki B. Subekti
- 822
- 10
- 9
1
vote
1 answer
API to pull the list of supported languages in AWS Translate
I am currently working on a project where I need to translate Customer comments into English from the source language on AWS. It is easy to do so using AWS Translate but before I call translate API to translate text into English, I want to check…

Rishabh Tiwari
- 15
- 1
- 4
1
vote
1 answer
Is there a possibility to integrate Translation before/after Amazon Lex Bot?
I have built a Q&A-chatbot using Amazon Lex with all intents and its utterances being in English. Now of course when an user asks some question in English, Amazon Lex processes the question and gives an answer in English.
Now I also want to make it…

JohnnyWhatsUp
- 201
- 1
- 2
- 6
1
vote
2 answers
Translate is not authorized to assume role
When I enter the example code from here https://docs.aws.amazon.com/de_de/translate/latest/dg/async.html
$ aws translate start-text-translation-job --job-name batch-test \
--source-language-code en \
--target-language-codes fr \
--input-data-config…

Rene B.
- 6,557
- 7
- 46
- 72
1
vote
1 answer
AWS Amplify - Android - Translate text in an unknown language to English
In my Android application I am using OCR. I would like to translate the text from the image to English. The language of the text is unknown. I am using AWS services together with Amplify, so I would like to use Predictions module to translate the…

MiHu
- 157
- 1
- 10
1
vote
1 answer
NO_READ_ACCESS_TO_S3 while calling StartTextTranslationJob on AWS Translate
I am trying to run AWS Translate job on Batch data stored in S3 with the following python…

bhavin tandel
- 65
- 10
1
vote
1 answer
Save Amazon Translate output to .txt file using Boto3
I am trying to use the below query to fetch the translate the data using AWS Translate API, however I am unable to find the suitable way of saving the result in .txt format.
import boto3
data = 'file.txt'
translate =…

Ashish Bansal
- 101
- 6
0
votes
2 answers
Partial credentials found in explicit, missing: aws_access_key_id
I am trying to run the following code snipet (based on this code here):
import boto3, os
from dotenv import load_dotenv
load_dotenv()
AWS_ACCESS_KEY=os.getenv('AWS_ACCESS_KEY')
AWS_SECRET_KEY=os.getenv('AWS_SECRET_KEY')
translate = boto3.client(
…

David Espinosa
- 760
- 7
- 21
0
votes
0 answers
Best way to translate JSON using AWS Translate
Is there a suggested way to translate a JSON object using the AWS Translate API, while leaving the keys untranslated?
I've tried a recursive loop that translates each string individually, but this has resulted in inconsistent results. Is there a…

Cemal Okten
- 819
- 1
- 6
- 13
0
votes
0 answers
Inconsistent results sending object for translation
I am working on a project that requires internationalisation using AWS for translation. I currently store translations in objects that are recursively
looped through, each string being sent off for translation and then re-added to the object. I need…

Cemal Okten
- 819
- 1
- 6
- 13
0
votes
0 answers
Could we use AWS Translate in UI clients
Currently I have UI Client(React) and searching for some approaches for translation.
Could I consider using AWS Translate
So is using AWS Translate will be an option or what is the drawbacks for this as I am caring about the latency as whenever the…

Safaa
- 11
- 2
0
votes
1 answer
Amazon Translate - Formality Setting in .Net?
When trying to use the Formality setting (https://aws.amazon.com/about-aws/whats-new/2022/10/amazon-translate-formality-customization-support-dutch-korean-mexican-spanish/ ) in code behind (.Net), I keep getting System.NullReferenceException:…

Thor2020
- 1
- 2