Skip to content

Commit 0e8d253

Browse files
committed
update code sample to reflect managed identity
1 parent 7cce042 commit 0e8d253

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

articles/cognitive-services/Translator/document-translation/how-to-guides/create-use-glossaries.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ A glossary is a list of terms with definitions that you create for the Document
2020

2121
## Create, upload, and use a glossary file
2222

23+
> [!NOTE]
24+
> The following example uses an enabled [**system-assigned managed identity**](create-use-managed-identities.md#enable-a-system-assigned-managed-identity) and a [**Storage Blob Data Contributor**](create-use-managed-identities.md#grant-access-to-your-storage-account) role assignment for authentication. For more information, *see* [**Managed identities for Document Translation**](./create-use-managed-identities.md).
25+
2326
1. **Create your glossary file.** Create a file in a supported format (preferably tab-separated values) that contains all the terms and phrases you want to use in your translation.
2427

2528
To check if your file format is supported, *see* [Get supported glossary formats](../reference/get-supported-glossary-formats.md).
@@ -43,7 +46,7 @@ A glossary is a list of terms with definitions that you create for the Document
4346

4447
1. **Specify your glossary in the translation request.** Include the **`glossary URL`**, **`format`**, and **`version`** in your **`POST`** request:
4548

46-
:::code language="json" source="../../../../../cognitive-services-rest-samples/curl/Translator/translate-with-glossary.json" range="1-23" highlight="13-15":::
49+
:::code language="json" source="../../../../../cognitive-services-rest-samples/curl/Translator/translate-with-glossary.json" range="1-23" highlight="13-14":::
4750

4851
### Case sensitivity
4952

0 commit comments

Comments
 (0)