|
| 1 | +--- |
| 2 | +title: Try Document Translation in Language Studio |
| 3 | +description: "Document Translation in Azure Cognitive Services Language Studio." |
| 4 | +services: cognitive-services |
| 5 | +author: laujan |
| 6 | +manager: nitinme |
| 7 | +ms.service: cognitive-services |
| 8 | +ms.subservice: translator-text |
| 9 | +ms.topic: quickstart |
| 10 | +ms.date: 02/27/2023 |
| 11 | +ms.author: lajanuar |
| 12 | +recommendations: false |
| 13 | +--- |
| 14 | + |
| 15 | +# Document Translation in Language Studio (Preview) |
| 16 | + |
| 17 | +> [!IMPORTANT] |
| 18 | +> Document Translation in Language Studio is currently in Public Preview. Features, approaches and processes may change, prior to General Availability (GA), based on user feedback. |
| 19 | +
|
| 20 | + Document Translation in [**Azure Cognitive Services Language Studio**](https://language.cognitive.azure.com/home) is a no-code user interface that lets you translate documents from local storage or Azure Blob Storage interactively. |
| 21 | + |
| 22 | +## Prerequisites |
| 23 | + |
| 24 | +If you or an administrator have previously setup a Translator resource with a **system-assigned managed identity**, enabled a **Storage Blob Data Contributor** role assignment, and created an Azure Blob storage account, you can skip this section and [**Get started**](#get-started) right away. |
| 25 | + |
| 26 | +> [!NOTE] |
| 27 | +> |
| 28 | +> * Document Translation is currently supported in the Translator (single-service) resource only, and is **not** included in the Cognitive Services (multi-service) resource. |
| 29 | +> |
| 30 | +> * 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/). |
| 31 | +> |
| 32 | +
|
| 33 | +Document Translation in Language Studio requires the following resources: |
| 34 | + |
| 35 | +* 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/). |
| 36 | + |
| 37 | +* A [**single-service Translator resource**](https://portal.azure.com/#create/Microsoft.CognitiveServicesTextTranslation) (**not** a multi-service Cognitive Services resource) with [**system-assigned managed identity**](how-to-guides/create-use-managed-identities.md#enable-a-system-assigned-managed-identity) enabled and a [**Storage Blob Data Contributor**](how-to-guides/create-use-managed-identities.md#grant-access-to-your-storage-account) role assigned. For more information, *see* [**Managed identities for Document Translation**](how-to-guides/create-use-managed-identities.md). Also, make sure the region and pricing sections are completed as follows: |
| 38 | + |
| 39 | + * **Resource Region**. For this project, choose a **non-global** region. For Document Translation, [system-assigned managed identity](how-to-guides/create-use-managed-identities.md) isn't supported in the global region. |
| 40 | + * **Pricing tier**. Select Standard S1 or D3 to try the service. Document Translation isn't supported in the free tier. |
| 41 | + |
| 42 | +* 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. |
| 43 | + |
| 44 | +Now that you've completed the prerequisites, let's start translating documents! |
| 45 | + |
| 46 | +## Get started |
| 47 | + |
| 48 | +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). |
| 49 | + |
| 50 | +1. Navigate to [Language Studio](https://language.cognitive.azure.com/home). |
| 51 | + |
| 52 | +1. If you're using the Language Studio for the first time, a **Select an Azure resource** pop-up screen appears. Make the following selections: |
| 53 | + |
| 54 | + * **Azure directory**. |
| 55 | + * **Azure subscription**. |
| 56 | + * **Resource type**. Choose **Translator**. |
| 57 | + * **Resource name**. The resource you select must have [**managed identity enabled**](how-to-guides/create-use-managed-identities.md). |
| 58 | + |
| 59 | + :::image type="content" source="media/language-studio/choose-azure-resource.png" alt-text="Screenshot of the language studio choose your Azure resource dialog window."::: |
| 60 | + |
| 61 | + > [!TIP] |
| 62 | + > You can update your selected directory and resource by selecting the Translator settings icon located in the left navigation section. |
| 63 | +
|
| 64 | +1. Navigate to Language Studio and select the **Document translation** tile: |
| 65 | + |
| 66 | + :::image type="content" source="media/language-studio/welcome-home-page.png" alt-text="Screenshot of the language studio home page."::: |
| 67 | + |
| 68 | +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: |
| 69 | + |
| 70 | + :::image type="content" source="media/language-studio/initial-configuration.png" alt-text="Screenshot of the initial configuration page."::: |
| 71 | + |
| 72 | +1. In the **Job** 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**: |
| 73 | + |
| 74 | + :::image type="content" source="media/language-studio/basic-information.png" alt-text="Screenshot of the language studio basic information page."::: |
| 75 | + |
| 76 | +## File location and destination |
| 77 | + |
| 78 | +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: |
| 79 | + |
| 80 | +### Choose a source file location |
| 81 | + |
| 82 | +#### [**Local**](#tab/local-env) |
| 83 | + |
| 84 | + 1. In the **files and destination** section, choose the files for translation by selecting the **Upload local files** button. |
| 85 | + |
| 86 | + 1. Next, select **➕ Add file(s)**, choose the file(s) for translation, then select **Next**: |
| 87 | + |
| 88 | + :::image type="content" source="media/language-studio/upload-file.png" alt-text="Screenshot of the select files for translation page."::: |
| 89 | + |
| 90 | +#### [**Azure blob storage**](#tab/blob-storage) |
| 91 | + |
| 92 | +1. In the **files and destination** section, choose the files for translation by selecting the **Select for Blob storage** button. |
| 93 | + |
| 94 | +1. Next, choose your *source* **Blob container**, find and select the file(s) for translation, then select **Next**: |
| 95 | + |
| 96 | + :::image type="content" source="media/language-studio/select-blob-container.png" alt-text="Screenshot of select files from your blob container."::: |
| 97 | + |
| 98 | +--- |
| 99 | + |
| 100 | +### Choose a target file destination |
| 101 | + |
| 102 | +#### [**Local**](#tab/local-env) |
| 103 | + |
| 104 | +While still in the **files and destination** section, select **Download translated file(s)**. Once you have made your choice, select **Next**: |
| 105 | + |
| 106 | + :::image type="content" source="media/language-studio/target-file-upload.png" alt-text="Screenshot of the select destination for target files page."::: |
| 107 | + |
| 108 | +#### [**Azure blob storage**](#tab/blob-storage) |
| 109 | + |
| 110 | +1. While still in the **files and destination** section, select **Upload to Azure blob storage**. |
| 111 | +1. Next, choose your *target* **Blob container** and select **Next**: |
| 112 | + |
| 113 | + :::image type="content" source="media/language-studio/target-file-upload.png" alt-text="Screenshot of target file upload drop-down menu."::: |
| 114 | + |
| 115 | +--- |
| 116 | + |
| 117 | +### Optional selections and review |
| 118 | + |
| 119 | +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**. |
| 120 | + |
| 121 | +1. On the **Review and finish** page, check to make sure that your selections are correct. If not, you can go back. If everything looks good, select the **Start translation job** button. |
| 122 | + |
| 123 | + :::image type="content" source="media/language-studio/start-translation.png" alt-text="Screenshot of the start translation job page."::: |
| 124 | + |
| 125 | +1. The **Job history** page contains the **Translation job id** and job status. |
| 126 | + |
| 127 | + > [!NOTE] |
| 128 | + > The list of translation jobs on the job history page includes all the jobs that were submitted through the chosen translator resource. If your colleague used the same translator resource to submit a job, you will see the status of that job on the job history page. |
| 129 | +
|
| 130 | + :::image type="content" source="media/language-studio/job-history.png" alt-text="Screenshot of the job history page."::: |
| 131 | + |
| 132 | +That's it! You now know how to translate documents using Azure Cognitive Services Language Studio. |
| 133 | + |
| 134 | +## Next steps |
| 135 | + |
| 136 | +> [!div class="nextstepaction"] |
| 137 | +> |
| 138 | +> [Use Document Translation REST APIs programmatically](how-to-guides/use-rest-api-programmatically.md) |
0 commit comments