Install
npm i -g champollion
Or run it ad hoc with npx champollion.
Three steps to translated
- 1Initialize
The wizard detects your locale files, source language, and formats, then writes
champollion.config.json.champollion init - 2Configure a provider
One key is enough to start — OpenRouter reaches 200+ models, or use Gemini's free tier.
export OPENROUTER_API_KEY=sk-or-v1-...# or: export GEMINI_API_KEY=AI... - 3Sync
Translates what changed, skips what didn't, validates every string through the quality gate before writing.
champollion sync
Ten methods, mixed per pair
Google Translate for French, an LLM for Japanese, a coached FST-gated plugin for Plains Cree — all in the same config. Every translation method is a config option, and each source→target pair picks its own.
The full method matrix — LLM providers, traditional MT, plugins.
Locale file to translated app in 60 seconds, step by step.
Every command and flag — sync, init, audit, doctor, and more.
A real-world walkthrough for a production-sized locale set.