ppt-translatorlisted
Install: claude install-skill tristan-mcinnis/PPT-Translator-Formatting-Intact-with-LLMs
# PowerPoint Translation Skill
Translate PowerPoint presentations while preserving all formatting including fonts, colors, spacing, tables, and alignment.
## When to Use This Skill
- Translating `.pptx` files between languages
- Batch translating multiple presentations in a directory
- Preserving slide formatting during translation (especially CJK ↔ English)
- QA-ing a translated deck with a vision language model (`--vision-audit`) to catch text overflow, truncation, garbled glyphs, untranslated leftovers, overlaps, or contrast problems
- When you need to inspect intermediate XML for debugging
## Setup
Before first use, set up the environment:
```bash
# Navigate to the scripts directory
cd .claude/skills/ppt-translator/scripts
# Create virtual environment and install dependencies
python3 -m venv .venv
source .venv/bin/activate # macOS/Linux
pip install -r requirements.txt
# Configure API keys
cp example.env .env
# Edit .env with your provider API key(s)
```
## Basic Usage
```bash
cd .claude/skills/ppt-translator/scripts
source .venv/bin/activate
python main.py /path/to/presentation.pptx \
--source-lang zh \
--target-lang en
```
(The default provider is DeepSeek `deepseek-v4-flash`.)
## Provider Configuration
| Provider | Environment Variable | Default Model |
|-----------|---------------------|----------------------------|
| deepseek | `DEEPSEEK_API_KEY` | `deepseek-v4-flash` |
| openai | `OPENAI_API_KEY` | `gpt-5.2-2025-12-11`