Azure Cognitive Services - Document Translation - Does Xliff have a limit?

Tobi 1 Reputation point
2022-05-24T09:30:29.08+00:00

Hello community,

I need your help regarding a strange issue I have.

My situation: I'm using Power Automate flows to upload a file to Azure blob, sending a POST request to the Azure endpoint to translate the uploaded file using Azure Cognitive Services and download the translated files afterward. When translating the documents, I'm using custom glossaries (xliff files) stored in Azure blob. You can see the code I'm using here: link.

However, since yesterday, I've been experiencing some problems with the translation. My glossaries contain word translation pairs and I think that there must be a limit or anything that prevents the engine from translating. When I don't use glossaries, the translation works. But when using them, nothing is translated, if I have more than word 55 pairs (more or less). One xliff file is only 11 KB in size.

My question: do these xliff files have a character limit or word pair limit? I don't understand why the translation doesn't work, when I have more word pairs or characters (no idea) in my xliff file.

Hope you can help me.

Best,
Tobi

Azure AI Translator
Azure AI Translator
An Azure service to easily conduct machine translation with a simple REST API call.
488 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,632 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.