Skip to content

v0.2.0 — localization

Choose a tag to compare

@jbrecht jbrecht released this 11 Jun 16:00
· 9 commits to main since this release

Render any tutorial in any language from one spec. Drop a <tutorial>.<lang>.json translation file (keyed by step id) next to the tutorial and run tutorial-forge render --lang es,fr. Each language is a full pipeline run — narration is re-synthesized and re-measured, so pacing adapts to each language's real speech duration. Outputs <id>.<lang>.mp4 + .srt.

  • config.languages to render a language set by default; --lang to override
  • ttsByLang for per-language voices (ElevenLabs multilingual usually needs none)
  • Adapter and step callbacks now receive ctx.lang for localized apps (backward compatible)
  • tutorial-forge list shows available languages
  • The attached getting-started.es.mp4 is the example app's tutorial in Spanish — generated from the same spec as the English one, plus one 8-line JSON file.