Subtitle Bilingual Localization
Paste the following prompt into your AI chat to install this skill:
Please install @user_569f22a3/subtitle-bilingual-localization according to https://skillhub.cn/install/skillhub.md.
About this skill
What It Solves
Bilingual subtitle localization often fails when a model simply translates cues: it may drop blocks, break SRT numbering, lose the WEBVTT header, or shorten lines until they are no longer watchable. This skill targets .srt, .vtt, and pasted subtitle text, with the goal of producing complete, structurally stable, view-friendly bilingual subtitles.
How It Works
- Default output: English on the first line, Chinese on the second, plus a plain-text preview.
- Structure preservation: keep SRT indices, timecodes, block order, and VTT headers; do not merge, split, or retime cues unless asked.
- Script-assisted workflow: use
parse_subtitles.pyto create a JSON intermediate,rebuild_subtitles.pyto regenerate files,validate_subtitles.pyto check missing blocks, broken indices, and missing bilingual lines,split_merge_batches.pyfor long content, andlength_check.pyfor readability risk. - Long-subtitle handling: parse first, split into batches when needed, then merge, rebuild, and validate before delivery.
Boundaries
- Best for translating existing subtitle files or near-SRT/VTT text, not for editing video timing or producing media.
- If the input is badly encoded or severely damaged, surface the issue instead of guessing.
- Length checks are risk signals, not replacements for contextual translation; keep Chinese natural and concise without deleting substantive information.
Use Cases
- Convert an English .srt into bilingual subtitles while preserving timecodes.
- Turn pasted VTT text into English-first Chinese-second cues without dropping blocks.
- Split a long subtitle file into batches, translate them, then merge and validate.
- Check final bilingual subtitles for missing Chinese, broken indices, and overlong lines.
Best For
- Localization editors turning English SRT files into deliverable bilingual subtitles.
- Operations staff processing demo video subtitles while preserving VTT headers and block order.
- Engineers maintaining subtitle scripts who need post-merge structural validation for long files.
- Content creators producing bilingual instructional videos and avoiding overlong on-screen lines.
Related Skills
Uses step-by-step choices to confirm business, palette, and layout, then exports an editable .drawio architecture diagram.
An agent skill for the Miaoyin AI music REST API that supports SUNO/Mureka-based song generation, continuation, cover, video, WAV, and stem splitting.
Distills text, files, or images into structured knowledge and generates knowledge-card prompts for drawing tools, supporting 3:4 portrait or 16:9 landscape outputs.
Capture full-page, viewport, or element screenshots with Playwright while handling lazy loading, internal scroll, mobile layouts, and Linux CJK fonts.