Why does Azure Translation Service translate the name of a language to the name of the target language?

Thomas Heijtink 21 Reputation points
2022-04-05T08:01:13.503+00:00

When I translate a Dutch sentence to English it actually changes the meaning of the text.

When I translate the following Dutch sentence to English:

Dit is een beschrijving in het Nederlands

It gets translated to:

This is a description in English

What is that about? It also happens to other sentences like:

Kun jij Nederlands

It gets translated to:

Can you speak English

When I append a question mark it corrects the translation to:

Can you speak Dutch?

This is a major error and totally changes the meaning of the text. Please fix asap!

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

1 answer

Sort by: Most helpful
  1. romungi-MSFT 41,866 Reputation points Microsoft Employee
    2022-04-06T13:21:05.763+00:00

    @Thomas Heijtink After checking with dev, it seems to be a known issue with Dutch translations and they are working to fix these discrepancies in future improvements to the model. There is no ETA on the fixes currently, but any improvements will be notified as part of Azure updates and I will update this thread if fixes are rolled out.

    The current workaround to mitigate these scenarios seems to be by adding proper spelling, capitalization and punctuation. As you have noticed this in the last sentence with the question mark the other two sentences are also translated correctly if a full stop(period) is added to the sentences.

    190519-image.png

    I understand this might need some pre-processing before passing the actual text to the API but this is the current guidance until the model is updated behind the API. I hope this helps!!.

    If an answer is helpful, please click on 130616-image.png or upvote 130671-image.png which might help other community members reading this thread.

    1 person found this answer helpful.
    0 comments No comments