Skip to content

Commit b4fa63c

Browse files
committed
promote image text translation
1 parent 2d53732 commit b4fa63c

File tree

2 files changed

+33
-23
lines changed

2 files changed

+33
-23
lines changed

articles/ai-services/translator/document-translation/how-to-guides/use-rest-api-programmatically.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,29 @@ The following headers are included with each Document translation API request:
183183
}
184184
```
185185

186+
### Translate text embedded in images within documents 🆕
187+
188+
> [!Note]
189+
>
190+
> * This feature is optional and must be enabled for each translation request.
191+
> * 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/)
192+
> * This feature is currently available only with the Batch Document translation API.
193+
> * The Supported file format is `.docx` only.
194+
> * An Azure AI Foundry resource (not the standalone Translator resource) is required to use this feature.
195+
196+
### Request configuration
197+
198+
* Use the optional `translateTextWithinImage` parameter in the `options` field
199+
200+
* Data type: Boolean (`true` or `false`)
201+
* Default Boolean setting is `false`. Set the option to `true` to enable image text translation.
202+
203+
* **Response Details**. When the feature is enabled, added image processing information is included with the response:
204+
205+
* **`totalImageScansSucceeded`**. The number of successfully translated image scans.
206+
207+
* **`totalImageScansFailed`**. The number of image scans that failed processing.
208+
186209
### Translate documents using a custom glossary
187210

188211
```json
@@ -209,29 +232,6 @@ The following headers are included with each Document translation API request:
209232
}
210233
```
211234

212-
### 🆕 Translate text embedded in images within documents
213-
214-
> [!Note]
215-
>
216-
> * This feature is optional and must be enabled for each translation request.
217-
> * 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/)
218-
> * This feature is currently available only with the Batch Document translation API.
219-
> * The Supported file format is `.docx` only.
220-
> * An Azure AI Foundry resource (not the standalone Translator resource) is required to use this feature.
221-
222-
### Request configuration
223-
224-
* Use the optional `translateTextWithinImage` parameter in the `options` field
225-
226-
* Data type: Boolean (`true` or `false`)
227-
* Default Boolean setting is `false`. Set the option to `true` to enable image text translation.
228-
229-
* **Response Details**. When the feature is enabled, added image processing information is included with the response:
230-
231-
* **`totalImageScansSucceeded`**. The number of successfully translated image scans.
232-
233-
* **`totalImageScansFailed`**. The number of image scans that failed processing.
234-
235235
## Use code to submit Document translation requests
236236

237237
### Set up your coding Platform

articles/ai-services/translator/whats-new.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,16 @@ Azure AI Translator is a language service that enables users to translate text a
2121

2222
Azure AI Translator service supports language translation for more than 100 languages. If your language community is interested in partnering with Microsoft to add your language to Translator, contact us via the [Translator community partner onboarding form](https://forms.office.com/pages/responsepage.aspx?id=v4j5cvGGr0GRqy180BHbR-riVR3Xj0tOnIRdZOALbM9UOU1aMlNaWFJOOE5YODhRR1FWVzY0QzU1OS4u).
2323

24+
## June 2025
25+
26+
### Document Translation new feature update
27+
28+
Azure AI Translator [Document translation feature](document-translation/overview.md#batch-key-features) now supports [translating text embedded in images](document-translation/how-to-guides/use-rest-api-programmatically.md#translate-text-embedded-in-images-within-documents-) within documents.
29+
30+
* This is an optional feature and must be enabled for each translation request.
31+
* Currently, the feature is available only with the [batch document translation](document-translation/how-to-guides/use-rest-api-programmatically.md#translate-text-embedded-in-images-within-documents-) API for `.docx` file format.
32+
* An [Azure AI Foundry resource](https://portal.azure.com/?Microsoft_Azure_PIMCommon=true#create/Microsoft.CognitiveServicesAIFoundry) (not the standalone Translator resource) is required to use this feature.
33+
2434
## May 2025
2535

2636
### Microsoft Translator Pro new feature update

0 commit comments

Comments
 (0)