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/cognitive-services/Translator/document-translation/language-studio.md
+47-10Lines changed: 47 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ manager: nitinme
7
7
ms.service: cognitive-services
8
8
ms.subservice: translator-text
9
9
ms.topic: quickstart
10
-
ms.date: 02/08/2023
10
+
ms.date: 02/27/2023
11
11
ms.author: lajanuar
12
12
recommendations: false
13
13
---
@@ -18,14 +18,16 @@ recommendations: false
18
18
19
19
## Prerequisites
20
20
21
+
If you or an administrator have previously setup a Translator resource with a **system-assigned managed identity** and enabled and a **Storage Blob Data Contributor** role assignment and an Azure Blob storage account, you can skip this section and [**Get started**](#get-started) right away.
22
+
21
23
> [!NOTE]
22
24
>
23
25
> * Document Translation is currently supported in the Translator (single-service) resource only, and is **not** included in the Cognitive Services (multi-service) resource.
24
26
>
25
27
> * Document Translation is **only** supported in the S1 Standard Service Plan (Pay-as-you-go) or in the D3 Volume Discount Plan. *See*[Cognitive Services pricing—Translator](https://azure.microsoft.com/pricing/details/cognitive-services/translator/).
26
28
>
27
29
28
-
To get started, you need:
30
+
Document Translation in Language Studio requires the following resources:
29
31
30
32
* An active [**Azure account**](https://azure.microsoft.com/free/cognitive-services/). If you don't have one, you can [**create a free account**](https://azure.microsoft.com/free/).
31
33
@@ -36,12 +38,12 @@ To get started, you need:
36
38
37
39
* An [**Azure blob storage account**](https://portal.azure.com/#create/Microsoft.StorageAccount-ARM). An active Azure blob storage account is required to use Document Translation in the Language Studio.
38
40
39
-
* A **source document**. You can download our [document translation sample document](https://raw.githubusercontent.com/Azure-Samples/cognitive-services-REST-api-samples/master/curl/Translator/document-translation-sample.docx).
40
-
41
41
Now that you've completed the prerequisites, let's start translating documents!
42
42
43
43
## Get started
44
44
45
+
1. At least one **source document** is required. You can download our [document translation sample document](https://raw.githubusercontent.com/Azure-Samples/cognitive-services-REST-api-samples/master/curl/Translator/document-translation-sample.docx).
46
+
45
47
1. Navigate to [Language Studio](https://language.cognitive.azure.com/home).
46
48
47
49
1. If you're using the Language Studio for the first time, select your Azure directory, Azure subscription, and Translator resource:
@@ -57,19 +59,54 @@ Now that you've completed the prerequisites, let's start translating documents!
57
59
58
60
1. If you're using the Document Translation feature for the first time, start with the **Initial Configuration** to select your **Azure Translator resource** and **Document storage** account:
59
61
60
-
:::image type="content" source="media/language-studio/initial-configuration.png" alt-text="Screenshot of the initial configuration page.":::
62
+
:::image type="content" source="media/language-studio/initial-configuration.png" alt-text="Screenshot of the initial configuration page.":::
61
63
62
64
1. In the **Basic information** section, choose the language to **Translate from** (source) or keep the default **Auto-detect language** and select the language to **Translate to** (target). You can select a maximum of 10 target languages. Once you've selected your source and target language(s), select **Next**:
63
65
64
-
:::image type="content" source="media/language-studio/basic-information.png" alt-text="Screenshot of the language studio basic information page.":::
66
+
:::image type="content" source="media/language-studio/basic-information.png" alt-text="Screenshot of the language studio basic information page.":::
67
+
68
+
## File location and destination
69
+
70
+
Your source and target files can be located in your local environment or your Azure Blob storage [container](../../../storage/blobs/storage-quickstart-blobs-portal.md#create-a-container). Follow the steps to select where to retrieve your source and store your target files:
71
+
72
+
### Choose source file location
73
+
74
+
#### [**Local**](#tab/local-env)
75
+
76
+
1. In the **files and destination** section, choose the files for translation by selecting the **Upload local files** button.
77
+
78
+
1. Next, select **➕ Add file(s)**, choose the file(s) for translation, then select **Next**:
79
+
80
+
:::image type="content" source="media/language-studio/upload-file.png" alt-text="Screenshot of the select files for translation page.":::
81
+
82
+
#### [**Azure blob storage**](#tab/blob-storage)
65
83
66
-
1. In the **files and destination** section, select the files for translation. You can either upload the provided source document, upload your own document, or select files from your Azure Blob storage[container](../../../storage/blobs/storage-quickstart-blobs-portal.md#create-a-container):
84
+
1. In the **files and destination** section, choose the files for translation by selecting the **Select for Blob storage** button.
67
85
68
-
:::image type="content" source="media/language-studio/files-destination-page.png" alt-text="Screenshot of the select files for translation page.":::
86
+
1. Next, choose your *source***Blob container**, find and select the file(s) for translation, then select **Next**:
69
87
70
-
1. While still in the **files and destination** section, select the destination for translated files. You can choose to download the translated files or upload to your Azure blob storage [container](../../../storage/blobs/storage-quickstart-blobs-portal.md#create-a-container). Once you have made your choice, select **Next**:
88
+
:::image type="content" source="media/language-studio/select-blob-container.png" alt-text="Screenshot of select files from your blob container.":::
89
+
90
+
---
91
+
92
+
### Choose target file destination
93
+
94
+
#### [**Local**](#tab/local-env)
95
+
96
+
While still in the **files and destination** section, select **Download translated file(s)**. Once you have made your choice, select **Next**:
97
+
98
+
:::image type="content" source="media/language-studio/target-file-upload.png" alt-text="Screenshot of the select destination for target files page.":::
99
+
100
+
#### [**Azure blob storage**](#tab/blob-storage)
101
+
102
+
1. While still in the **files and destination** section, select **Upload to Azure blob storage**.
103
+
1. Next, choose your *target***Blob container** and select **Next**:
:::image type="content" source="media/language-studio/target-file-destination.png" alt-text="Screenshot of the select destination for target files page.":::
109
+
### Optional selections and review
73
110
74
111
1. (Optional) You can add **additional options** for custom translation and/or a glossary file. If you don't require these options, just select **Next**.
0 commit comments