Repository navigation
v0.2.0 - YAML Frontmatter & XLIFF Header Notes
What's New
YAML Frontmatter (Markdown)
MD files now include translation metadata at the top:
---
source_lang: en
target_lang: zh
original_file: input.md
processor: "OL"
version: "0.2.0"
translated_at: 2026-05-22T15:00:00Z
---XLIFF Header Notes
XLIFF files include metadata via header note:
<header>
<note from="OL">Translated from en to zh by OL</note>
</header>CLI Options
--frontmatter/--no-frontmatterfor translate-md--frontmatter/--no-frontmatterfor translate-batch
Use --no-frontmatter to disable if needed.
Security
- YAML injection prevention for filenames
- XML escaping for XLIFF header notes