Each section is auto-generated by scripts/generate-examples.py from a live translate install. Every command is executed; every output below is exactly what the tool printed.
Generation also doubles as a battle-test: a scene fails if its expected substring is missing or its exit code is wrong. Re-run with make example (or python3 scripts/generate-examples.py) to refresh the docs and re-run the battery.
- 01 · CLI basics — 8 passed
- 02 · CLI translation — 8 passed
- 03 · CLI across many language pairs — 6 passed, 1 skipped
- 04 · DeepL HTTP API · curl — 6 passed
- 05 · DeepL HTTP API · official Python SDK — 4 passed
- 06 · LibreTranslate HTTP API · curl — 5 passed
- 07 · LibreTranslate HTTP API · libretranslatepy — 3 passed
- 08 · Google Translate v2 HTTP API · curl — 4 passed
- 09 · Google Translate v2 HTTP API · requests — 2 passed
- 10 · Cross-API consistency — 1 passed
- 11 · Battle tests — 4 passed
- passed: 51
- skipped: 1 (model not installed)
- failed: 0