Subtitle Translator
字幕文件
翻译设置
合并只作用于时间轴相邻、单行不足阈值的短句,时间码按合并后的首末条保留。
开始翻译
时间轴微调
译后预览
| 时间码 | 原文 | 译文 |
|---|
How to Use
📖 What this tool is for
Cupping one line at a time into a translation box and pasting it back is slow, and one shifted timecode is enough to push a whole caption out of sync with the picture. This tool takes the other route: split the file by its own timecodes, translate by block, then put the blocks back in the original order with the index and the timings untouched.
It does not proofread the output. Machine translation stumbles on terminology, names and wordplay, so someone still has to read the result. What it removes is the copying and the risk of breaking the structure. The judgement stays with you.
📖 What it handles
- Both formats: standard SRT with comma-separated milliseconds and WebVTT with dot-separated milliseconds, the WEBVTT header, and cue setting lines, which are skipped rather than treated as text.
- Short-line merging: adjacent cues no more than 1.2 seconds apart and shorter than the threshold are joined before they are sent, cutting the number of requests. A segment never joins more than three cues, so a long scene does not collapse into one bloated block.
- Source language is guessed before the request: the share of Chinese characters, kana, hangul and Latin letters decides the answer, and the result sits next to the dropdown so you can override it.
- Serial queue: one request at a time with 1.1 seconds between them. A rate-limit reply backs off for 2.6 seconds, then 5.2, and retries once. A segment that still fails keeps its source text and is marked.
- Local cache: the same line in the same target language is remembered and skipped on the next run. The cache holds 800 entries and drops the oldest when it overflows.
- Two exports: a single-language SRT with only the translation, or a bilingual SRT with the source above the translation, plus a plain text list for voice-over scripts.
🚀 How to run it
- Drop an .srt or .vtt into the dashed box or click it to pick a file. You can also paste subtitle text straight into the field below; parsing starts on paste.
- Read the line under the file card: how many cues, how many segments after merging, how many requests that implies. If the count does not match your source, check that the file is really SRT.
- Pick a target language, eight are available. Source language defaults to Auto, and you can correct it whenever the guess is wrong.
- Choose a merge threshold that suits the material. Interviews with clipped speech work at 42 characters; long documentary lines are safer with merging off.
- Press Start translating and watch the progress bar advance by segment. Pressing Stop keeps everything already translated.
- Pick an output form and press Download .srt, or press Text only for the plain list.
⚠️ Before you publish it
- A public endpoint does the translating: the MyMemory free channel takes at most 450 characters per call. With merging off, keep single cues under that.
- There is a daily quota: anonymous use is capped. A few hundred lines in an hour is fine; a full season of several thousand needs to run in batches.
- Merging changes the structure: fewer lines after merging is expected. The timecode of a merged segment runs from the first cue start to the last cue end, so the gaps between them disappear. Choose no merging when frame-accurate alignment matters.
- Source detection can miss: mixed Chinese and Japanese text sometimes lands on Japanese. When the guess and the dropdown disagree, the dropdown wins.
- The cache is local: translations live in this browser, so another device or a cleared cache means a fresh run. Different target languages do not share the cache.
- Export names carry the target language code and a timestamp, as in subtitle-enUS-20261116-1432.srt, which keeps multiple drafts apart.
- Overlapping timecodes are never rewritten. Export keeps the original order and the status line reports how many overlapped.
- Interface language follows the site and there is no switch inside the plugin. The translated text is the same in all three languages; only the messages change.