Multilingual App Tool - Generate Machine Translations (not working - VS2019)

SriChad 0 Reputation points
2024-05-07T17:56:30.32+00:00

Hi Team,

Context:

We are using visual studio 2019. We have installed Multilingual App Toolkit from Extensions. Later, we are able to enable the Multilingual App toolkit for the project and we could see that it is properly enabled as per log below:

  1. Project 'TestConsoleApp' was enabled. The project's source culture is 'en-US' [English (United States)].

Also, under "Tools > Options > Multilingual App Toolkit > Microsoft Translator" we have give the proper subscription key from Azure account as well,

Problem:

We could see that .xlf files are generated for different cultures when we do "Multilingual App Toolkit > Add Translation languages" However, when we try to generate machine translations on the generated culture based .xlf files in the visual studio project. We get the following error below :

Error: There was no endpoint listening at https://api.terminology.microsoft.com/Terminology.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.

I read the documentation on terminology service API and tried to add as a service reference but I received following error below:

Metadata contains a reference that cannot be resolved: 'https://api.terminology.microsoft.com/Terminology.svc'.

There was no endpoint listening at https://api.terminology.microsoft.com/Terminology.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.

The remote server returned an error: (500) Internal Server Error.

If the service is defined in the current solution, try building the solution and adding the service reference again.

Please suggest here. Thanks in Advance.

Developer technologies | Visual Studio | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2024-05-08T03:22:57.02+00:00

    Hi @SriChad

    Welcome to Microsoft Q&A! 

    Are you using the latest version of VS2019? You can open the Visual Studio Installer and update the VS2019 to the latest version.

    Please make sure you have the latest service pack and critical updates for the versions of Windows that you are running. You can check it by using Windows Update. 

    Meanwhile, please ensure that the version of Multilingual App Toolkit extension for VS2019 is latest version 4.1.14. 

    If you have VS2022 installed, you can check that the extension works with VS2022 properly. 

    If it persists, please directly contact MAT team at Multilingual@microsoft.com. We may need a few more details regarding this issue to investigate it further. Thanks for your understanding! 

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".  Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

     

     


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.