Why does Read Aloud from Immersive Reader sounds different on Android using language "nl" and "nl-BE" but not on iOS while using JavaScript SDK

Alexandru-Robert Simion 0 Reputation points
2023-09-16T14:13:10.3466667+00:00

I have an issue with Immersive Reader which works 100% fine on Android using JavaScript SDK. Read Aloud option sounds different setting the languages: "nl" and "nl-BE" but only on Android. Setting the same values on iOS the Read Aloud speaks the same for both languages.

When sending "options" parameter to the JavaScript function

ImmersiveReader.launchAsync(message.cogSvcsAccessToken, message.cogSvcsSubdomain, data, options);

the "options" has the value for

sampleOptions.disableLanguageDetection = true 

I am setting the "nl" or "nl-BE" here:

sampleChunk = Chunk(content: availableText, lang: "nl-BE", mimeType: "text/html")

Both on iOS and on Android when setting different languages is ok for languages: "ro", "nl", "de" for all these languages Read Aloud sounds different but not on "nl" and "nl-BE" on iOS. Only on Android works well this last option.

Can you clarify me about this please ?

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,787 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.