SubRip
Translate subtitle cue text while keeping cue numbers and timing aligned with the media.
SubRip subtitles tie each passage to a numbered interval in the media. The srt file handler translates the passage while retaining its cue number, timecode, and order. The translated text must still fit that interval; the handler does not retime the subtitles.
Cue text and identity #
For example:
1
00:00:01,000 --> 00:00:03,500
Choose your delivery method.
2
00:00:04,000 --> 00:00:06,000
Confirm your address.Each nonempty text block becomes one translation unit, including all lines of that cue. Cue numbers and timings come from the current source. Supported <i>, <b>, <u>, and <font> markup stays attached to the translated text.
Reuse matches unchanged source text and its place in the cue sequence. Renumbering alone need not require retranslation. Repeated identical cues need stable alignment, and a target whose cue count differs from the previous source cannot supply reusable text. Keep that previous source paired with its accepted target when inserting, splitting, or moving cues.
Reconstructed output #
Output replaces cue text in the current source while retaining its cue numbers, timings, separators, and line-break convention. Accepted unchanged translations can carry forward through source/target matching. A required cue without a translation fails output assembly rather than silently receiving source text.
The parser checks for a timecode line containing -->; use your subtitle tooling to validate the full timing syntax and alignment with the media.
Configure and play the subtitles #
The CLI infers srt from .srt. Use CLI configuration or GitHub for file selection. CLI key scope is unavailable for subtitles.
Play the target subtitles with the media. Check line length, reading time, cue boundaries, speaker meaning, and the player's inline formatting conventions. When a translation needs more time than the original interval allows, revise the wording or adjust timing in the subtitle workflow.