🖋️ InDesign (INDD and IDML)
Bluente translates Adobe InDesign documents natively. Upload either format:
- INDD (
.indd, the InDesign document itself): the result is a translated.indddocument. Bluente opens it in InDesign, writes the translation in, and reflows the text there. - IDML (
.idml, InDesign Markup Language): the result is an editable IDML package.
Either way you get a file to open in InDesign, not a print-ready PDF. Review it there before you export or print.
📋 Workflow
InDesign files use the same endpoints as every other file type:
- Upload File: upload the
.inddor.idmlfile withPOST /upload. - Get Translation Status: poll
GET /checkuntil the status isSERVICE_PROCESSED. If the file can’t be read, the status becomesERRORinstead. - Translate File: start the translation with
POST /translate. See the options below. - Download File: when the status is
READY, download the result withGET /download. The result has the same format you uploaded:.inddfor INDD,.idmlfor IDML.
📤 Preparing the File
- Upload the
.inddfile as it is. You don’t need to export IDML first. - If you already work with IDML, upload the
.idmlfile (File→Export…→InDesign Markup (IDML)). - Both formats are returned by the Get Supported File Types API:
indd(application/x-indesign) andidml(application/vnd.adobe.indesign-idml-package). - Fonts and linked images are not uploaded. The translated document keeps the same links as your original. See the notes below for fonts.
🚫 Options Not Supported for InDesign
InDesign translation keeps the authored layout and translates the native text, so the options below don’t apply. INDD and IDML treat them differently:
- INDD: the options are ignored. The translation starts and you are charged for the plain translated document only.
- IDML:
POST /translatereturnscode: 40(invalid parameters) and the translation does not start.
| Option | Where it is sent | INDD | IDML |
|---|---|---|---|
to_type | Request body | Ignored | Must be empty or "idml". PDF or INDD output is not available. |
page_range | Request body | Ignored | Not supported. The whole document is always translated. |
scanned / scanned_option | Query / request body | Ignored | Must be 0 or omitted. |
translate_image | Query / request body | Ignored | Not supported. |
table_layout_enhancement / is_use_table_layout_enhancement | Query / request body | Ignored | Not supported. |
only_extract / is_only_extract | Query / request body | Ignored | Not supported. |
bilingual, vertical_bilingual / is_use_bilingual, is_vertical_bilingual | Query / request body | Ignored | Not supported. |
font_name, custom fonts | Request body | Ignored | Not supported. Fonts come from the original document. |
Glossary options (glossary, custom_glossary, namespace) and meta_data work as usual for both formats.
💡 Example
# 1. Upload
curl -X POST "https://api.bluente.com/api/20250924/blu_translate/upload?engine=3" \
-H "Authorization: Bearer $BLUENTE_API_KEY" \
-F "file=@/path/to/brochure.indd"
# 2. Translate (after /check returns SERVICE_PROCESSED)
curl -X POST "https://api.bluente.com/api/20250924/blu_translate/translate?engine=3" \
-H "Authorization: Bearer $BLUENTE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": 1,
"action": "start",
"from": "en",
"to": "zh"
}'
# 3. Download (after /check returns READY)
curl -X GET "https://api.bluente.com/api/20250924/blu_translate/download?id=1" \
-H "Authorization: Bearer $BLUENTE_API_KEY" \
-o translated_brochure.inddor
const formData = new FormData();
formData.append("file", fileInput.files[0]); // brochure.indd
const upload = await fetch("https://api.bluente.com/api/20250924/blu_translate/upload?engine=3", {
method: "POST",
headers: {
"Authorization": "Bearer $BLUENTE_API_KEY"
},
body: formData
}).then(res => res.json());
// Poll /check until status is SERVICE_PROCESSED, then:
await fetch("https://api.bluente.com/api/20250924/blu_translate/translate?engine=3", {
method: "POST",
headers: {
"Authorization": "Bearer $BLUENTE_API_KEY"
},
body: JSON.stringify({
id: upload.data.id,
action: "start",
from: "en",
to: "zh"
})
});
// Poll /check until status is READY, then:
const file = await fetch(`https://api.bluente.com/api/20250924/blu_translate/download?id=${upload.data.id}`, {
method: "GET",
headers: {
"Authorization": "Bearer $BLUENTE_API_KEY"
}
}).then(res => res.blob());For IDML, upload the .idml file instead; the download is an .idml package.
❌ Error Response Examples
An IDML translation with an unsupported option:
{
"message": "IDML translation supports the complete document, not page selections",
"code": 40
}An INDD translation when the account would only get a partial or watermarked preview:
{
"message": "INDD requires credits for the complete document; partial or watermarked previews are not supported",
"code": 40
}See Error Codes for all codes.
💳 Billing
- InDesign files are billed for the whole document. Partial translation and watermarked previews are not available.
- For INDD, the page count is the number of pages InDesign reports for the document.
- If the account cannot pay for the complete document, the translation does not start:
code: 70when credits are insufficient or expired, orcode: 40when the account would only get a partial preview.
📌 Notes
Both formats
- Translated text is usually longer or shorter than the source. Bluente fits it into the layout, which can mean smaller text in tight frames. Check every spread for overset (overflowing) text and adjust frames where needed.
- If the original font cannot display the target language, Bluente applies a fallback font to that text. Check fonts in InDesign (
Type→Find/Replace Font…) before final output.
INDD
-
Text watermarks in the original (for example a diagonal
DRAFT) are kept as they are, not translated. -
The translated
.inddis saved in the same InDesign version as your original, so you can open it wherever you open the original. Bluente keeps the current and the previous major InDesign versions; a document from an older version comes back in the oldest of those, and you need that version or later to open it. A document saved in a newer InDesign version than Bluente has cannot be translated yet; the task ends with statusERROR. -
Translation runs in InDesign and takes longer than other formats: minutes for a short brochure, up to about an hour for a book of several hundred pages.
-
Linked images and placed files stay linked by their original paths. Relink them on the machine that opens the translated file if needed.
IDML
- The output is an editable IDML package.
- Fonts and linked assets are not bundled. IDML stores fonts and links (images, placed files) by reference only. Install the document’s fonts and relink assets on the machine that opens the translated file.