You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/ai-services/translator/text-translation/how-to/migrate-to-v3.md
+21-21Lines changed: 21 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,27 +1,27 @@
1
1
---
2
-
title: Migrate to v3 - Azure AI Translator
2
+
title: Migrate to V3 - Azure AI Translator
3
3
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.
5
5
author: laujan
6
6
manager: nitinme
7
7
ms.service: azure-ai-translator
8
8
ms.topic: conceptual
9
-
ms.date: 04/15/2025
9
+
ms.date: 04/14/2025
10
10
ms.author: lajanuar
11
11
---
12
12
13
-
# Azure AI Translator v3 migration
13
+
# Azure AI Translator V3 Migration
14
14
15
15
> [!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.
17
17
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.
19
19
20
20
The end of this document contains helpful links for you to learn more.
21
21
22
22
## Summary of features
23
23
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.
25
25
* JSON - XML replaces JSON. All data sent to the service and received from the service is in JSON format.
26
26
* 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.
27
27
* 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.
30
30
* 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.
31
31
* 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).
32
32
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.
@@ -50,23 +50,23 @@ The following list of V2 and v3 methods identifies the v3 methods and APIs that
50
50
51
51
## Move to JSON format
52
52
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.
54
54
55
55
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.
56
56
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:
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.
64
64
65
65
## Pricing Model
66
66
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.
68
68
69
-
|v3 Method | Characters Counted for Billing |
69
+
|V3 Method | Characters Counted for Billing |
70
70
|:----------- |:-------------|
71
71
|`Languages`| No characters submitted, none counted, no charge. |
72
72
|`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,
75
75
|`BreakSentence`| No Charge. |
76
76
|`Detect`| No Charge. |
77
77
78
-
## v3 End Points
78
+
## V3 End Points
79
79
80
80
Global
81
81
82
82
* api.cognitive.microsofttranslator.com
83
83
84
-
## v3 API text translations methods
84
+
## V3 API text translations methods
85
85
86
86
[`Languages`](../reference/v3/languages.md)
87
87
@@ -103,11 +103,11 @@ Global
103
103
>
104
104
> The Microsoft Translator Hub will be retired on May 17, 2019. [View important migration information and dates](https://www.microsoft.com/translator/business/hub/).
105
105
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)
107
107
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`).
109
109
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) |
|Translator Version 2| api.microsofttranslator.com| No |Yes |No|
113
113
|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
116
116
117
117
* It's generally available and fully supported.
118
118
* 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.
120
120
* It doesn't provide access to custom translation systems created using the Microsoft Translator Hub.
121
121
122
122
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
139
139
## Next steps
140
140
141
141
> [!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)
Copy file name to clipboardExpand all lines: articles/ai-services/translator/text-translation/how-to/use-rest-api.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ To call the Translator service via the [REST API](../reference/rest-api-guide.md
53
53
|**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>|
54
54
|**Content-Type**|The content type of the payload. The accepted value is **application/json** or **charset=UTF-8**.|<ul><li>***Required***</li></ul>|
55
55
|**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>
57
57
58
58
## Set up your application
59
59
@@ -3123,7 +3123,7 @@ After a successful call, you should see the following response. For more informa
| 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).|
3127
3127
| 429 | Too Many Requests | You exceeded the quota or rate of requests allowed for your subscription. |
3128
3128
| 502 | Bad Gateway | Network or server-side issue. May also indicate invalid headers. |
Copy file name to clipboardExpand all lines: articles/ai-services/translator/text-translation/overview.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ Text translation documentation contains the following article types:
26
26
27
27
*[**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:
@@ -79,7 +79,7 @@ Customers with a resource located in Switzerland North or Switzerland West can e
79
79
80
80
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​://my-swiss-n.cognitiveservices.azure.com`. And a sample request to translate is:
81
81
82
-
```bash
82
+
```curl
83
83
// Pass secret key and region using headers to a custom endpoint
84
84
curl -X POST "https://my-swiss-n.cognitiveservices.azure.com/translator/text/v3.0/translate?to=fr" \
Copy file name to clipboardExpand all lines: articles/ai-services/translator/text-translation/quickstart/rest-api.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ You need an active Azure subscription. If you don't have an Azure subscription,
45
45
46
46
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.
47
47
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.
0 commit comments