epub-translator
Installation
SKILL.md
EPUB Translator
Use the current directory as the workspace. Below, <ctl> means python3 <skill-dir>/scripts/bookctl.py; see <ctl> <command> --help for arguments.
Workspace
translation.json source/target language (code + name); never infer a language elsewhere
source/<book>.epub immutable original
books/<book>/en/NN-*.md immutable extracted source ("en" means source, whatever the language)
books/<book>/ru/NN-*.md translation with the same filenames ("ru" means translation)
books/<book>/extraction.json baseline hashes of the EPUB and extracted source
books/<book>/state/*.md.json per-file translation/review receipts
books/<book>/metadata.json translated title, author, labels; optional sections/link_targets
series/glossary.md terminology only (source term -> target term)
series/style-guide.md series decisions for the target language
series/translation-log.md history, decisions, source inconsistencies
dist/<book>.<target-code>.epub generated book