Skip to content

Commit 6cb2290

Browse files
committed
remove v4 references
1 parent 564d711 commit 6cb2290

20 files changed

+208
-1517
lines changed

articles/ai-services/translator/text-translation/how-to/migrate-to-v3.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
---
2-
title: Migrate to v3 - Azure AI Translator
2+
title: Migrate to V3 - Azure AI Translator
33
titleSuffix: Azure AI services
4-
description: This article provides the steps to help you migrate from V2 to v3 of the Azure AI Translator.
4+
description: This article provides the steps to help you migrate from V2 to V3 of the Azure AI Translator.
55
author: laujan
66
manager: nitinme
77
ms.service: azure-ai-translator
88
ms.topic: conceptual
9-
ms.date: 04/15/2025
9+
ms.date: 04/14/2025
1010
ms.author: lajanuar
1111
---
1212

13-
# Azure AI Translator v3 migration
13+
# Azure AI Translator V3 Migration
1414

1515
> [!NOTE]
16-
> Microsoft Translator V2 was deprecated on April 30, 2018. Migrate your applications to v3 and experience new functionality available exclusively in v3. Translator v2 was retired on May 24, 2021.
16+
> Microsoft Translator V2 was deprecated on April 30, 2018. Migrate your applications to V3 and experience new functionality available exclusively in V3. V2 was retired on May 24, 2021.
1717
18-
Azure AI Translator Version 3 (v3) is generally available. The release includes new features, deprecated methods and a new format for sending to, and receiving data from the Microsoft Translator Service. This document provides information for changing applications to use v3.
18+
Azure AI Translator Version 3 (V3) is generally available. The release includes new features, deprecated methods and a new format for sending to, and receiving data from the Microsoft Translator Service. This document provides information for changing applications to use V3.
1919

2020
The end of this document contains helpful links for you to learn more.
2121

2222
## Summary of features
2323

24-
* No Trace - In v3 No-Trace applies to all pricing tiers in the Azure portal. This feature means that the service doesn't save text submitted to the v3 API.
24+
* No Trace - In V3 No-Trace applies to all pricing tiers in the Azure portal. This feature means that the service doesn't save text submitted to the V3 API.
2525
* JSON - XML replaces JSON. All data sent to the service and received from the service is in JSON format.
2626
* Multiple target languages in a single request - The Translate method accepts multiple `to` languages for translation in a single request. For example, a single request can be `from` English and `to` German, Spanish and Japanese, or any other group of languages.
2727
* Bilingual dictionary - A bilingual dictionary method is added to the API. This method includes `lookup` and `examples`.
@@ -30,9 +30,9 @@ The end of this document contains helpful links for you to learn more.
3030
* New to Translate - New capabilities are added to the `translate` method to support some of the features that were in the V2 API as separate methods. An example is TranslateArray.
3131
* Speech method - Text to speech functionality is no longer supported in the Microsoft Translator. Text to speech functionality is available in [Microsoft Speech Service](../../../speech-service/text-to-speech.md).
3232

33-
The following list of V2 and v3 methods identifies the v3 methods and APIs that provide the functionality that came with V2.
33+
The following list of V2 and V3 methods identifies the V3 methods and APIs that provide the functionality that came with V2.
3434

35-
| V2 API Method | v3 API Compatibility |
35+
| V2 API Method | V3 API Compatibility |
3636
|:----------- |:-------------|
3737
| `Translate` | [Translate](../reference/v3/translate.md) |
3838
| `TranslateArray` | [Translate](../reference/v3/translate.md) |
@@ -50,23 +50,23 @@ The following list of V2 and v3 methods identifies the v3 methods and APIs that
5050

5151
## Move to JSON format
5252

53-
Microsoft Translator Translation V2 accepted and returned data in XML format. In v3, all data sent and received using the API is in JSON format. XML is no longer accepted or returned in v3.
53+
Microsoft Translator Translation V2 accepted and returned data in XML format. In V3, all data sent and received using the API is in JSON format. XML is no longer accepted or returned in V3.
5454

5555
This change affects several aspects of an application written for the V2 Text translation API. As an example: The Languages API returns language information for text translation, transliteration, and the two dictionary methods. You can request all language information for all methods in one call or request them individually.
5656

57-
The languages method doesn't require authentication; by selecting the following link you can see all the language information for v3 in JSON:
57+
The languages method doesn't require authentication; by selecting the following link you can see all the language information for V3 in JSON:
5858

5959
[https://api.cognitive.microsofttranslator.com/languages?api-version=3.0&scope=translation,dictionary,transliteration](https://api.cognitive.microsofttranslator.com/languages?api-version=3.0&scope=translation,dictionary,transliteration)
6060

6161
## Authentication Key
6262

63-
The authentication key used for V2 is accepted for v3. You don't need to get a new subscription. You can mix V2 and v3 in your apps during the yearlong migration period, making it easier for you to release new versions while you migrate from V2-XML to v3-JSON.
63+
The authentication key used for V2 is accepted for V3. You don't need to get a new subscription. You can mix V2 and V3 in your apps during the yearlong migration period, making it easier for you to release new versions while you migrate from V2-XML to V3-JSON.
6464

6565
## Pricing Model
6666

67-
Microsoft Translator v3 is priced in the same way V2 was priced; per character, including spaces. The new features in v3 make some changes in what characters are counted for billing.
67+
Microsoft Translator V3 is priced in the same way V2 was priced; per character, including spaces. The new features in V3 make some changes in what characters are counted for billing.
6868

69-
| v3 Method | Characters Counted for Billing |
69+
| V3 Method | Characters Counted for Billing |
7070
|:----------- |:-------------|
7171
| `Languages` | No characters submitted, none counted, no charge. |
7272
| `Translate` | Count is based on how many characters are submitted for translation, and how many languages the characters are translated into. 50 characters submitted, and 5 counted as 50x5. |
@@ -75,13 +75,13 @@ Microsoft Translator v3 is priced in the same way V2 was priced; per character,
7575
| `BreakSentence` | No Charge. |
7676
| `Detect` | No Charge. |
7777

78-
## v3 End Points
78+
## V3 End Points
7979

8080
Global
8181

8282
* api.cognitive.microsofttranslator.com
8383

84-
## v3 API text translations methods
84+
## V3 API text translations methods
8585

8686
[`Languages`](../reference/v3/languages.md)
8787

@@ -103,11 +103,11 @@ Global
103103
>
104104
> The Microsoft Translator Hub will be retired on May 17, 2019. [View important migration information and dates](https://www.microsoft.com/translator/business/hub/).
105105
106-
Azure AI Translator v3 uses neural machine translation by default. As such, it can't be used with the Microsoft Translator Hub. The Translator Hub only supports legacy statistical machine translation. Customization for neural translation is now available using the Azure AI Custom Translator. [Learn more about customizing neural machine translation](../../custom-translator/overview.md)
106+
Azure AI Translator V3 uses neural machine translation by default. As such, it can't be used with the Microsoft Translator Hub. The Translator Hub only supports legacy statistical machine translation. Customization for neural translation is now available using the Azure AI Custom Translator. [Learn more about customizing neural machine translation](../../custom-translator/overview.md)
107107

108-
Neural translation with the v3 text API doesn't support the use of standard categories (`SMT`, `speech`, `tech`, `generalnn`).
108+
Neural translation with the V3 text API doesn't support the use of standard categories (`SMT`, `speech`, `tech`, `generalnn`).
109109

110-
| Version | Endpoint | GDPR Processor Compliance | Use Translator Hub | Use Custom Translator (preview) |
110+
| Version | Endpoint | GDPR Processor Compliance | Use Translator Hub | Use Custom Translator (Preview) |
111111
| :------ | :------- | :------------------------ | :----------------- | :------------------------------ |
112112
|Translator Version 2| api.microsofttranslator.com| No |Yes |No|
113113
|Translator Version 3| api.cognitive.microsofttranslator.com| Yes| No| Yes|
@@ -116,7 +116,7 @@ Neural translation with the v3 text API doesn't support the use of standard cate
116116

117117
* It's generally available and fully supported.
118118
* It's GDPR-compliant as a processor and satisfies all ISO 20001 and 20018 as well as SOC 3 certification requirements.
119-
* It allows you to invoke the neural network translation systems you customized with Custom Translator (preview), the new Translator neural machine translation (NMT) customization feature.
119+
* It allows you to invoke the neural network translation systems you customized with Custom Translator (Preview), the new Translator neural machine translation (NMT) customization feature.
120120
* It doesn't provide access to custom translation systems created using the Microsoft Translator Hub.
121121

122122
You're using Version 3 of the Translator if you're using the api.cognitive.microsofttranslator.com endpoint.
@@ -139,4 +139,4 @@ No version of the Azure AI Translator creates a record of your translations. You
139139
## Next steps
140140

141141
> [!div class="nextstepaction"]
142-
> [View Azure AI Translator v3.0 Documentation](../reference/v3/reference.md)
142+
> [View Azure AI Translator V3.0 Documentation](../reference/v3/reference.md)

articles/ai-services/translator/text-translation/how-to/migrate-to-v4.md

Lines changed: 0 additions & 63 deletions
This file was deleted.

articles/ai-services/translator/text-translation/how-to/use-rest-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ To call the Translator service via the [REST API](../reference/rest-api-guide.md
5353
|**Ocp-Apim-Subscription-Region**|The region where your resource was created. |<ul><li>***Required*** when using an Azure AI multi-service or regional (geographic) resource like **West US**.</li><li> ***Optional*** when using a single-service Translator Resource.</li></ul>|
5454
|**Content-Type**|The content type of the payload. The accepted value is **application/json** or **charset=UTF-8**.|<ul><li>***Required***</li></ul>|
5555
|**Content-Length**|The **length of the request** body.|<ul><li>***Optional***</li></ul> |
56-
|**X-ClientTraceId**|A client-generated GUID to uniquely identify the request. You can omit this optional header if you include the trace ID in the query string using a query parameter named ClientTraceId.|<ul><li>***Optional***</li></ul>
56+
|**X-ClientTraceId**|A client-generated GUID to uniquely identify the request. You can omit this header if you include the trace ID in the query string using a query parameter named ClientTraceId.|<ul><li>***Optional***</li></ul>
5757

5858
## Set up your application
5959

@@ -3123,7 +3123,7 @@ After a successful call, you should see the following response. For more informa
31233123
|------------------|-------------|-----------------|
31243124
| 200 | OK | The request was successful. |
31253125
| 400 | Bad Request | A required parameter is missing, empty, or null. Or, the value passed to either a required or optional parameter is invalid. A common issue is a header that is too long. |
3126-
| 401 | Unauthorized | The request isn't authorized. Check to make sure your key or token is valid and in the correct region. *See also* [Authentication](../reference/authentication.md).|
3126+
| 401 | Unauthorized | The request isn't authorized. Check to make sure your key or token is valid and in the correct region. *See also* [Authentication](../reference/v3/reference.md#authentication).|
31273127
| 429 | Too Many Requests | You exceeded the quota or rate of requests allowed for your subscription. |
31283128
| 502 | Bad Gateway | Network or server-side issue. May also indicate invalid headers. |
31293129

articles/ai-services/translator/text-translation/overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Text translation documentation contains the following article types:
2626

2727
* [**Languages**](reference/v3/languages.md). Returns a list of languages supported by **Translate**, **Transliterate**, and **Dictionary Lookup** operations. This request doesn't require authentication; just copy and paste the following GET request into your favorite REST API tool or browser:
2828

29-
```bash
29+
```http
3030
https://api.cognitive.microsofttranslator.com/languages?api-version=3.0
3131
```
3232
@@ -79,7 +79,7 @@ Customers with a resource located in Switzerland North or Switzerland West can e
7979
8080
For example: If you create a Translator resource in Azure portal with `Resource region` as `Switzerland North` and your resource name is `my-swiss-n`, then your custom endpoint is `https&#8203;://my-swiss-n.cognitiveservices.azure.com`. And a sample request to translate is:
8181
82-
```bash
82+
```curl
8383
// Pass secret key and region using headers to a custom endpoint
8484
curl -X POST "https://my-swiss-n.cognitiveservices.azure.com/translator/text/v3.0/translate?to=fr" \
8585
-H "Ocp-Apim-Subscription-Key: xxx" \

articles/ai-services/translator/text-translation/quickstart/client-library-sdk.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ That's it, congratulations! In this quickstart, you used a Text translation SDK
6363
Learn more about Text translation development options:
6464

6565
> [!div class="nextstepaction"]
66-
>[Text translation SDK overview](../../text-sdk-overview.md) </br></br>[Text translation v3 reference](../reference/v3/reference.md)
66+
>[Text translation SDK overview](../../text-sdk-overview.md) </br></br>[Text translation V3 reference](../reference/v3/reference.md)

articles/ai-services/translator/text-translation/quickstart/rest-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ You need an active Azure subscription. If you don't have an Azure subscription,
4545

4646
To call the Translator service via the [REST API](../reference/rest-api-guide.md), you need to include the following headers with each request. Don't worry, we include the headers for you in the sample code for each programming language.
4747

48-
For more information on Translator authentication options, _see_ the [Translator v3 reference](..//reference/authentication.md) guide.
48+
For more information on Translator authentication options, _see_ the [Translator v3 reference](..//reference/v3/reference.md#authentication) guide.
4949

5050
Header|Value| Condition |
5151
|--- |:--- |:---|

0 commit comments

Comments
 (0)