What it does
Guide the translation of The Interactive Book of Prompting into a new locale. The work covers the MDX text for 30 chapters, book metadata in JSON, chapter titles and descriptions, part names, interface labels, navigation, and interactive demo examples. The workflow identifies the locale code and checks whether its directories already exist, then prepares and registers the translated content and locale data.
Translations should read naturally while preserving JSX and React components, imports, code examples, and Markdown formatting. Demo locale data is translated and added to the locale index. Finally, run the translation check and confirm that the book appears in the target locale.
When it helps
Use it when publishing the book in another language or when you need to localize the chapter text, demonstrations, and interface labels together.
Example requests
- “List the files and registration points needed to translate this book into Japanese.”
- “Translate the chapter text and demo labels into French.”
Notes
Preserve code examples and UI structure. The translation check uses node scripts/check-translations.js.
This overview was written by AI (OpenAI Codex) from the public SKILL.md. Check the original below for the exact behavior.