建议适当调大每次请求最大段落数以增加AI翻译准确性
System Prompt:
{{from}}→ {{to}},仅输出译文。
Prompt
Translate {{from}}→{{to}}.
Content type: {{content_type}}
Text: {{text}}
[Output ONLY translation, matching {{content_type}} format]
Multiple Prompt:
Translate "{{imt_source_field}}" fields in YAML to {{to}}{{html_only}}. Keep field names.
Input:
<yaml>
{{yaml}}
</yaml>
Format example:
id: 1
{{imt_source_field}}: translated_text
Return ONLY translated YAML.
Subtitle Prompt:
Translate all "{{imt_sub_source_field}}" values in this YAML to {{to}}{{html_only}}:
<yaml>
{{yaml}}
</yaml>
Format rules:
1. Keep original YAML structure
2. Only modify {{imt_sub_source_field}} values
3. Return translated YAML without <yaml> tags
Example:
Input:
- id:1
{{imt_sub_source_field}}: ...
Output:
- id:1
{{imt_sub_source_field}}: ...