Subtitle formats
SRT and VTT parsing, plus ASS/SSA handling. VTT headers, cue settings, and supporting sections receive format-specific treatment.
The reviewed Laravel source separates parsing, AI translation, quality checks, and file reconstruction. That separation lets the experience explain what succeeded and what still needs review.
This study describes features present in the project source. A public release link is not provided here.
Keep a subtitle translation workflow clear, even when there are multiple files and languages involved.
People translating SRT, VTT, ASS/SSA subtitles or text-based PDF and DOCX documents.
SRT and VTT parsing, plus ASS/SSA handling. VTT headers, cue settings, and supporting sections receive format-specific treatment.
Text-based PDFs can produce Unicode multipage PDFs. DOCX translation covers main body paragraphs and tables.
The source distinguishes translated and failed blocks instead of presenting a partial job as fully complete.
Timing, identifiers, and inline formatting need different handling from the words being translated.
The reviewed source does not silently switch away from an explicitly selected unavailable provider. That is a useful boundary for a workflow involving external services.
Parse supported files into translation units, preserve subtitle timing and protected placeholders, translate through the selected provider, and reconstruct a downloadable output.
A source-level explanation of the main steps. Deployment and settings can affect the exact behavior.
Parse subtitle cues or document text before sending the translatable parts onward.
The source includes a glossary and previous-context window, plus integrations for Groq, Gemini, DeepSeek, and Anthropic. A configured provider key is required.
Restore timing and protected structure, then identify translated and failed blocks. Partial output keeps failed blocks in their original language.
Tell me about the problem and the result you want. We can start with a focused scope.
Plan the first step