Skip to content

Bilingual output

Set output_mode: "bilingual" (the current default) to get a bilingual document with the source and the translation side by side.

{
"document_id": "4q8mx2q9z1k7p6ra",
"target_lang": "en",
"output_mode": "bilingual"
}
FormatBilingual
DOCX✅ paragraph by paragraph
XLSX✅ column by column
HTML✅ block by block
EPUB✅ chapter by chapter
MD✅ paragraph by paragraph
SRT/ASS✅ line by line
PDF✅ page by page
PPTX❌ falls back to single

Source and translation alternate, and translated paragraphs have a light grey background so they are easy to tell apart:

[Source] 人工智能正在改变世界。
[Translation] Artificial intelligence is changing the world.
[Source] 自然语言处理是其核心技术之一。
[Translation] Natural language processing is one of its core technologies.