Communitygithub.com

Translating subtitles — SRT to clean, sentence-bounded SRT

Translate an SRT or transcript into another language (or a bilingual SRT) and re-segment so every cue ends at a real punctuation mark. Simplified Chinese and English are first-class. Text only: no audio, no burn-in.

What is Translating subtitles — SRT to clean, sentence-bounded SRT?

Video Localization recipe step 2 (translate the words), from jianshuo/claude-skills (wjs-translating-subtitles, part of a 13-skill video production set). Source SRT in, target or bilingual SRT out. It translates for meaning in subtitle-style language at reading speed (about 15 Chinese characters or 40–42 English characters per line, two lines max), keeps names, brands, numbers and tone, strips the filler 这/那 that machine translation adds to Chinese, and re-segments Whisper's breath-based cues so each one ends at punctuation, splitting or merging cues and interpolating timestamps. Output follows strict SRT rules (sequential numbers, comma milliseconds, no overlaps). Burn-in and dubbing are separate skills.

Works with✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/jianshuo/claude-skills/tree/main/wjs-translating-subtitles

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

What does Translating subtitles — SRT to clean, sentence-bounded SRT do?

Translate source SRT to target language with punctuation-bounded re-segmentation so no cue ends mid-sentence; bilingual SRT option for review.

Individual skills in this repo

This repo contains 5 individual skills — each has its own dedicated page.

Related Skills