Multilingual Voice returns wrong language when using numbers text to speech

TC 0 Reputation points
2024-11-20T18:51:21.77+00:00

Hello,

when I am using your api and the following voice: "en-US-AndrewMultilingualNeural"

I also use "es-ES" and "en-US" to specify when to use each language.

It works when using text but when a just a number like "2." is turned into text then the returned text is always English.

I am using xml:lang='es-ES' to specify the language.

Please help me fix this issue.

Thanks and best regards

Timo

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,193 questions
Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,796 questions
Azure AI Language
Azure AI Language
An Azure service that provides natural language capabilities including sentiment analysis, entity extraction, and automated question answering.
426 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.