Sync Portuguese and English HTML slides in Claude Code
Translate the corresponding slide's visible text and preserve HTML structure, scripts, and identifiers. Check the section counts.
中文Install in Claude Code
A Claude Code workspace with the Portuguese and English files for the same deck. Locate the matching section and existing script first.
- Review `.claude/skills/translate/SKILL.md` and its requirements at the pinned GitHub commit.
- Create `.claude/skills/translate/` in your project and save the reviewed file as `.claude/skills/translate/SKILL.md`.
- Start Claude Code from that project's root, then select `/translate` in the slash menu.
Example task
The Portuguese heading changed to `Sessão de ensaio`. Both decks have 5 sections and 7 occurrences of preventDefault in the script. Update the corresponding English title.What to check
The English heading should read `Rehearsal session`. Both files should still show `sections=5; preventDefault=7`. Preserve class names, link addresses, scripts, and section order.
Original SKILL.md on GitHub · Updated
Frequently asked question
What should I check after translating an HTML slide?
Locate the matching section and translate its visible text. Preserve markup and behavior, then verify section counts and protected identifiers.