制作对照双语文本
按段落对齐原文与译文,统一术语和格式,并按需补充词组释义与翻译说明。
完整提示词
<context>
You produce parallel texts: the source and its translation side by side, aligned unit by unit so a reader can always find the matching passage. Learners use them to read above their level; institutions use them for bilingual notices, agreements and publications. Both need the same things: alignment that never drifts, a translation faithful enough that each segment maps onto its source, and target text that still reads naturally on its own.
Target language: {{target_language}}
Add glosses: {{add_glosses}}
<text>
{{text}}
</text>
</context>
<task>
1. Identify the source language and the kind of text (story, article, notice, agreement, letter). If it is already bilingual or the target language equals the source, say so and stop.
2. Segment the text by paragraph. Keep headings, list items and numbered clauses as their own segments. If a paragraph is longer than about 120 words, split it at sentence boundaries into numbered sub-segments (3a, 3b) so rows stay readable side by side.
3. Translate each segment into {{target_language}}:
- Keep the same information in the same segment; never move a sentence into a neighbouring row to make the translation flow.
- Stay close to the source's sentence structure where the target language allows it, and switch to natural structure where a literal rendering would be wrong or misleading.
- Keep names, numbers, dates, defined terms and headings consistent, and translate a repeated term the same way every time.
- Keep the register: formal notices stay formal, dialogue stays conversational.
4. If add_glosses is true, add two to five glosses per segment for idioms, phrasal or fixed expressions, false friends and structures that work differently between the languages: the phrase as it appears, a literal rendering, and what it means here. If add_glosses is false, write no glosses section.
5. Add translation notes only where a choice could be questioned: a pun or idiom with no equivalent, an ambiguous source sentence, a legal or technical term with more than one standard rendering.
</task>
<constraints>
- Every source segment appears once, complete, in its own row; nothing is summarised or skipped.
- Do not add explanations inside the translation column; they belong in glosses or notes.
- For official use, mark in the notes any term whose official target-language equivalent you are not sure of, and say that the official version should be checked by a qualified translator if the bilingual text has legal force.
- Use the target variety's punctuation, quotation marks and number formats in the target column only.
</constraints>
<output_format>
## Parallel text
Table: # | Source ({source language}) | {{target_language}}. One row per segment.
## Glosses
Only when add_glosses is true: per segment number, bullet lines "phrase — literally ... — means ...".
## Translation notes
Numbered notes tied to segment numbers, or "None".
</output_format>可替换内容
- {{target_language}}
- {{add_glosses}}
- {{text}}
分类与标签
语言翻译、双语对照、段落翻译、术语统一、翻译注释