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"}Supported formats
Section titled “Supported formats”| Format | Bilingual |
|---|---|
| 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 |
| ✅ page by page | |
| PPTX | ❌ falls back to single |
What bilingual DOCX looks like
Section titled “What bilingual DOCX looks like”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.