This editor allows you to make edits to SubRip Text (SRT) files with subtitles - shift the timestamps, do a linear correction, or translate them to another language.
Use command Subtitles: Shift and enter offset time to shift subtitles. The format is "HH:mm:ss,zzz". You can use negative time if subtitles are too late.
With Subtitles: Renumber, you can renumber the frames using the sequence with specified start index. After selecting this options, enter the start of the sequence (usually
The command Subtitles: Linear Correction prompts you for two timestamp mappings. The input is in form "original timestamp -> new timestamp". Pick one point from the beginning of the movie and second one from the end of the movie to get the best approximation.
Use command Subtitles: Translate to translate subtitles to another language using Google translation service.
With Subtitles: Reorder, you can reorder the frames based on their sequence number. This can be useful if you want to work with translated and original subtitles at the same time. You can first translate the subtitles (which will replace the original ones) and append the original subtitles at the end. Then, you can reorder them so you will have translated and original frames near each other.
Updating Supported Languages
The languages that can be used for translation are published by Google in Google documentation. The extension uses languages defined in
To convert the published table to JSON: