Paper Translator
by @xing-xing-coder
Translates academic PDFs from English to Chinese, preserving formulas and layout, producing bilingual, Chinese-only versions, and a glossary.
clawhub install paper-translatorπ About This Skill
Paper Translator
Translates academic PDFs (ENβZH), preserving formulas and layout. Generates bilingual version + Chinese-only version + glossary.
One-liner
bash /scripts/translate_paper.sh
Outputs (same directory):
xxx.zh.dual.pdf β Bilingual (EN+ZH)xxx.zh.mono.pdf β Chinese onlyxxx.zh.glossary.csv β GlossaryArguments
Add after the script:
| Arg | Example | Description |
|-----|---------|-------------|
| --lang-out | zh-CN | Target language |
| --pages | 1-10 | Translate first 10 pages only |
| --no-dual | | Generate monolingual only |
| --ignore-cache | | Re-translate ignoring cache |
| --output | /out | Output directory |
Auto-installed dependencies
Checks for uv and pdf2zh-next on first run; installs automatically if missing.
Full arguments
See references/advanced-args.md
References
QQBot Send
cp *.pdf ~/.openclaw/media/qqbot/uploads/
Then send using . Max 10MB per file.