To translate SRT subtitles offline on Mac, work on a copy of the subtitle file and ask a downloaded local model to translate only each cue’s spoken text. Keep the original cue numbers and time ranges in the copy, then compare the structure and watch the translated track against the video.

Make a subtitle copy and choose a short first batch

In Finder, keep the source video and the original SRT where you can reopen them. Duplicate the SRT into a separate folder and add a language label to the new filename, such as Workshop.en.srt. Open the copy in a plain-text editor. In TextEdit, use plain-text mode and check the saved filename in Finder so your editor preserves the SRT extension. An SRT cue commonly has an index, a line with its start and end times, one or more caption lines, and a blank separator. SubRip format description from the Library of Congress · Apple’s TextEdit format guide

Choose three to five nearby cues for the first batch. Take note of the source language, target language, names, and any recurring labels. Adjacent cues can carry one thought across several lines. Reading the surrounding text helps you translate those lines naturally while keeping the existing time boundaries. For the first pass, use a portion with ordinary text. If your source contains style tags, a speaker label, or overlapping cues, mark those cases for a separate playback review.

Record the expected result before translating. Start and end times should match the source in the same order. A recognizable detail such as a room number or an arrival time should make it into the target text. If your workflow calls for changing cue timing or breaking long lines differently, make that decision after reviewing the translation. This guide preserves the original timing while you check the words.

Translate the cue text with a local model

Use a Mac that already has a compatible text model downloaded in LM Studio. Open a new chat with the local model selected. If you want to test the full workflow offline, disconnect from the internet before you send a new practice batch. LM Studio documents that downloaded models can be used for local chat without a network connection. You can copy and paste a short excerpt directly into the chat. LM Studio offline operation · Open a local LM Studio chat on Mac

Make a separate practice SRT in plain text with these three invented Spanish cues.

1
00:00:02,000 --> 00:00:05,000
El grupo de Palma llega a las 10:30.

2
00:00:05,500 --> 00:00:09,000
Entren por la puerta norte, junto a la sala 4.

3
00:00:09,500 --> 00:00:12,000
Traigan dos tarjetas azules.

Give the model a specific request. The numbered answers are a review aid. Paste only the verified text into the copy that has the original time ranges.

Translate the Spanish caption text to English.
Return one answer for each cue, labeled 1, 2, and 3.
Preserve Palma, 10:30, the north entrance, room 4, and the quantity two.
Keep the same cue boundaries. Give the translated captions only.

Read the answers next to the source. One acceptable translation is “The Palma group arrives at 10:30” for the first cue, “Enter through the north entrance, next to room 4” for the second, and “Bring two blue cards” for the third. Equivalent wording is fine when it preserves the meaning. In regular use, write down the names, units, and directions that matter before sending the excerpt. A fluent translation can still send a viewer to the wrong entrance or leave out a relevant number.

Replace only the caption lines inside each corresponding cue in Workshop.en.srt. Preserve the blank line between cues and the timing line above each one. Keep the filename suffix of the original language copy distinct. When one sentence spans two cues, translate it with both lines in view and check how it reads when each cue appears on screen.

Check that the cue sequence and timing stayed the same

For a short file, open the original and translation side by side. Compare each cue number and its timing line, including milliseconds. Check that every translated cue has text before the next blank separator. Watch for a second copy of an index or a gap where a cue should be. A missing cue can shift your attention to the next line and make a later mismatch hard to identify.

For a longer file, you can compare the timing scaffold with Python 3. Save the script in a working folder as check_srt_timing.py. It reads both files without editing them and compares each cue index and timing line. It is intended for a time-coded SRT with nonempty caption blocks. If your source has a different file structure, inspect that format before you use the result.

from pathlib import Path
import re
import sys

TIME_LINE = re.compile(
    r"^\d{2,}:\d{2}:\d{2},\d{3}[ \t]+-->[ \t]+"
    r"\d{2,}:\d{2}:\d{2},\d{3}(?:[ \t]+.*)?$"
)


def scaffold(filename):
    text = Path(filename).read_text(encoding="utf-8-sig").strip()
    cues = []
    for block in re.split(r"\n[ \t]*\n", text):
        index, timing, *caption = block.splitlines()
        if not index.isascii() or not index.isdecimal():
            raise ValueError(f"{filename}: invalid cue index {index!r}")
        if not TIME_LINE.fullmatch(timing):
            raise ValueError(f"{filename}: invalid time line for cue {index}")
        if not any(line.strip() for line in caption):
            raise ValueError(f"{filename}: empty caption for cue {index}")
        cues.append((index, timing))
    return cues


if len(sys.argv) != 3:
    raise SystemExit("Usage: python3 check_srt_timing.py original.srt translation.srt")
try:
    original = scaffold(sys.argv[1])
    translated = scaffold(sys.argv[2])
except (OSError, ValueError) as exc:
    raise SystemExit(str(exc))
if original != translated:
    raise SystemExit("Cue numbers or timing lines differ. Review both files.")
print(f"{len(original)} cue numbers and timing lines match.")

Run it from that folder, quoting the two filename arguments if they contain spaces.

python3 check_srt_timing.py "Workshop.es.srt" "Workshop.en.srt"

For the three-cue example, expect a message saying that three cue numbers and timing lines match. To rehearse a failure, change only one timestamp in another temporary copy and run the check against that file. It should report that the sequences differ. Return to the verified copy before you continue. A matching result establishes a structural property. Check the spoken meaning, line breaks, and rendering on the video separately.

Keep the original text encoding when you make the first plain-text copy, or convert both review copies to UTF-8 before running the script. The script reads UTF-8 and accepts its optional byte-order mark. If it reports a Unicode problem, open the source in an editor that allows you to choose the correct encoding and read one line with accented letters before you save a new UTF-8 copy. A successful conversion should preserve the spoken wording as well as cue boundaries. Keep the source file available so you can compare unusual punctuation after the conversion.

Review the file separately for pre-existing issues such as a cue whose end is before its start. The comparison checks that matching time lines are preserved in the same sequence. When you discover a deliberate timing change, record it in a separate copy and validate it during playback. For a translation-only handoff, keep those adjustments out of the verified deliverable until everyone is ready to review the changed timing.

Review the translated track in the intended player

Open the source video in a local player that supports separate SRT tracks, such as VLC. Add the translated subtitle file and verify which track is active. Players can pick up a nearby subtitle automatically, so check a line you know differs between the original and translation. Watch the first cue and several cues around a scene or speaker change. Check the final cue too so you can see whether the file reaches its expected end. VideoLAN’s VLC subtitle instructions

Look for text that is too wide or too slow to read at the current timing. If a line takes too long, revise the translation while preserving the relevant meaning and details. Check the same point again after editing. If the video is intended for a small screen, watch the text at the size the recipient is likely to use. Confirm that the line breaks keep units, names, or instructions together where the reading makes that important.

For a spoken instruction, compare the translation with the actual source cue before editing only for length. One cue might carry a condition and the next a direction. A shorter caption can preserve the direction while losing the condition. Read neighboring cues together and make sure the translated version still tells the viewer when each instruction applies.

Use a replayable time as a review point. When a cue looks crowded or appears over a hard-to-read background, record the cue number and the displayed video time. Then adjust that cue in the text file and reload the subtitle track. Review the same point after the change, and confirm the cue before and after it still looks right. If the recipient needs a second language, start that version from the original timing scaffold and give it a separate language label.

Work through longer files in checked batches

Keep a short glossary for recurring names, place labels, and terms. Give it to the model with each batch. Record the source cue numbers completed and the cue where the next batch should start. If you provide a preceding cue as context, label it as context and exclude it from the requested output. Before moving on, check that the excerpt’s last cue is present in the working translation. This makes it possible to recover from a skipped or repeated boundary cue.

In a long interview, check who is speaking at changes in tone or perspective. A model can translate an isolated “you” correctly as a word and still lose which person is being addressed. A preceding cue or a speaker label can resolve the context. Where the language requires a choice the source leaves open, note the cue for a human review and continue with the parts you can verify.

When the source includes markup, keep an untouched SRT to compare with the translated version. Observe how a caption with the original marker renders in the recipient’s player. Preserve markers that carry meaning, such as a speaker change or emphasis needed to understand the line. If the model moves a marker or returns extra formatting, repair that cue in the translated copy and check it again before processing the next block.

Finish by comparing the entire SRT structure, reviewing the high-consequence details, and opening the exact file you intend to deliver. Keep the language label, video version, and subtitle filename together. If a web player requires WebVTT for delivery, convert a separate copy after the translation and timing checks. Convert SRT to WebVTT on Mac