How do I change to the Global endpoint for a Translator?

Lesli Woodruff 6 Reputation points Microsoft Employee
2022-07-25T14:42:10.99+00:00

Hello. I'll begin by saying I'm not a developer. I've created a Translator API to plug into a 3rd party translation application. I was not able to select the "global" region when creating the API, and therefore the text translation API points to https://api.cognitive.microsofttranslator.com/. This would require the application to include "eastus" in the code. Because it only asks for an API key, the API would need to point to api-nam.cognitive.microsofttranslator.com.

How do I change the endpoint for text translation to point to api-nam.cognitive.microsofttranslator.com?

Thank you.

Azure Translator
Azure Translator
An Azure service to easily conduct machine translation with a simple REST API call.
343 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,395 questions
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. Woodruff, Lesli 11 Reputation points
    2022-07-26T13:56:02.227+00:00

    Thank you much. I created a new resource and was indeed able to choose Global, which solved the 3rd party problem. Appreciate the guidance.

    2 people found this answer helpful.

  2. Ramr-msft 17,616 Reputation points
    2022-07-26T10:56:33.27+00:00

    @Lesli Woodruff Thanks for the question. The Resource Region you can Choose Global unless your business or application requires a specific region.
    Use the Global endpoint in your API request unless you need a specific Azure region or custom endpoint. Here is an example of using the global/ custom endpoint and a link to the quickstart sample using SDK.

    1 person found this answer helpful.
    0 comments No comments