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
1.**Name**. Enter the name you chose for your resource. The name you choose must be unique within Azure.
48
48
49
49
> [!NOTE]
50
-
> Document Translation requires a custom domain endpoint. The value that you enter in the Name field will be the custom domain name parameter for your endpoint.
50
+
> Document Translation requires a custom domain endpoint. The value that you enter in the Name field is the custom domain name parameter for your endpoint.
51
51
52
52
1.**Pricing tier**. Document Translation isn't supported in the free tier. To try the service, select Standard S1.
53
53
@@ -90,7 +90,7 @@ You need to [**create containers**](/azure/storage/blobs/storage-quickstart-blo
90
90
***Target container**. This container is where your translated files are stored (required).
91
91
92
92
> [!NOTE]
93
-
> Document Translation supports glossaries as blobs in target containers (not separate glossary containers). If want to include a custom glossary, add it to the target container and include the` glossaryUrl` with the request. If the translation language pair is not present in the glossary, it will not be applied. *See*[Translate documents using a custom glossary](#translate-documents-using-a-custom-glossary)
93
+
> Document Translation supports glossaries as blobs in target containers (not separate glossary containers). If you want to include a custom glossary, add it to the target container and include the` glossaryUrl` with the request. If the translation language pair isn't present in the glossary, the glossary isn't applied. *See*[Translate documents using a custom glossary](#translate-documents-using-a-custom-glossary)
94
94
95
95
### **Create SAS access tokens for Document Translation**
96
96
@@ -131,7 +131,7 @@ The following headers are included with each Document Translation API request:
131
131
* The `targetUrl` for each target language must be unique.
132
132
133
133
>[!NOTE]
134
-
> If a file with the same name already exists in the destination, the job will fail.
134
+
> If a file with the same name already exists in the destination, the job fails.
135
135
136
136
<!-- markdownlint-disable MD024 -->
137
137
### Translate all documents in a container
@@ -210,30 +210,6 @@ The following headers are included with each Document Translation API request:
210
210
}
211
211
```
212
212
213
-
### 🆕 Translate text embedded in images within documents
214
-
215
-
> [!Note]
216
-
>
217
-
> * This feature is optional and must be enabled for each translation request.
218
-
> * Enabling this feature will incur additional costs based on usage. For more information, *see*[Azure AI Vision pricing](https://azure.microsoft.com/pricing/details/cognitive-services/computer-vision/)
219
-
> * This feature is currently available only with the Batch Document Translation API.
220
-
> * The Supported file format is `.docx` only.
221
-
> * An Azure AI Services resource (not the standalone Translator resource) is required to use this feature.
222
-
223
-
### Request configuration
224
-
225
-
* Use the optional `translateTextWithinImage` parameter in the `options` field
226
-
227
-
* Data type: Boolean (`true` or `false`)
228
-
* Default Boolean setting is `false`. Set the option to `true` to enable image text translation.
229
-
230
-
***Response Details**. When the feature is enabled, added image processing information is included with the response:
231
-
232
-
***`totalImageScansSucceeded`**. The number of successfully translated image scans.
233
-
234
-
***`totalImageScansFailed`**. The number of image scans that failed processing.
235
-
236
-
237
213
## Use code to submit Document Translation requests
238
214
239
215
### Set up your coding Platform
@@ -330,7 +306,7 @@ gradle init --type basic
330
306
331
307
> [!IMPORTANT]
332
308
>
333
-
> For the code samples, you'll hard-code your SharedAccessSignature (SAS) URL where indicated. Remember to remove the SASURL from your code when you're done, and never post it publicly. For production, use a secure way of storing and accessing your credentials like [Azure Managed Identity](create-use-managed-identities.md). For more information, _see_ Azure Storage [security](/azure/storage/common/authorize-data-access).
309
+
> For the code samples, hard-code your Shared Access Signature (SAS) URL where indicated. Remember to remove the SAS URL from your code when you're done, and never post it publicly. For production, use a secure way of storing and accessing your credentials like [AzureManagedIdentity](create-use-managed-identities.md).For more information, _see_ AzureStorage [security](/azure/storage/common/authorize-data-access).
334
310
335
311
>You might need to update the following fields, depending upon the operation:
0 commit comments