subtitle-translate

Translate English SRT subtitles into Simplified Chinese while preserving timestamps and indices.

Updated Mar 16, 2026
One-click install
npx skills add https://github.com/zlovexforever/zlx-claude-skills --skill subtitle-translate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: subtitle-translate
Source: https://github.com/zlovexforever/zlx-claude-skills/tree/main/subtitle-translate
Command: npx skills add https://github.com/zlovexforever/zlx-claude-skills --skill subtitle-translate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the time-consuming effort of translating English subtitle files by producing a consistent Simplified Chinese SRT that keeps all timestamps and indices intact, while applying an oil-and-gas/geo-technical glossary to maintain terminology accuracy.

Core Features & Use Cases

  • SRT-safe translation: Preserves every timestamp line and index number exactly, only translating the subtitle text content.
  • Oil & gas domain glossary: Enforces consistent Chinese terms for reservoir engineering and geomechanics topics (e.g., Petrel/Eclipse/CMG-related terminology, stress/geomechanics terms, reservoir engineering metrics).
  • Optional termdb-based correction: Attempts to run a termdb SRT pre-processor to correct ASR errors and generate a dynamic glossary for the specific input file, with dynamic terms taking precedence over static tables.
  • Line-length control: Ensures each Chinese output line stays within 20 characters by splitting lines with \n when needed.

Quick Start

Use the subtitle-translate skill to translate your English .srt file into Simplified Chinese while keeping the original SRT timestamps and indices unchanged.

Frequently Asked Questions about subtitle-translate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I translate an SRT subtitle file into Simplified Chinese while keeping timestamps intact?

To translate an SRT subtitle file into Simplified Chinese, this Skill preserves every timestamp line and index number exactly, only translating the text content. It outputs a structurally identical SRT file with accurate Chinese dialogue.

How does SRT translation handle petroleum engineering and reservoir simulation terminology?

SRT translation handles petroleum engineering terminology by enforcing a domain-specific glossary for reservoir engineering and geomechanics topics. It ensures consistent Chinese terms for Petrel, Eclipse, and CMG-related software terminology.

Can I use this for YouTube dubbing pipelines that require line-length control?

Yes, you can use this for YouTube dubbing pipelines requiring line-length control. It ensures each Simplified Chinese output line stays within 20 characters by splitting subtitle text lines with newline characters when needed.

What is termdb ASR correction and how does it generate a dynamic glossary?

Termdb ASR correction runs a pre-processor to fix speech recognition errors in the SRT file and generates a dynamic glossary for that specific input. These dynamic terms take precedence over static glossary tables during translation.

Is there a way to correct ASR errors in technical subtitles before translation?

Yes, the Skill optionally attempts to run a termdb SRT pre-processor to correct ASR errors before translation. This process generates a dynamic glossary for the input file to ensure accurate technical terminology mapping.