julien-media-subtitle-translation

Translate SRT subtitle files across language pairs with HTML tag handling.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/theflysurfer/claude-skills-marketplace --skill julien-media-subtitle-translation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: julien-media-subtitle-translation
Source: https://github.com/theflysurfer/claude-skills-marketplace/tree/main/skills/julien-media-subtitle-translation
Command: npx skills add https://github.com/theflysurfer/claude-skills-marketplace --skill julien-media-subtitle-translation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill translates SRT subtitle files using LLM APIs, handling HTML tags, batching, retries, and cost estimation.

Core Features & Use Cases

  • Batch translation: process multiple episodes efficiently
  • HTML tag handling: preserve markup in translations
  • Cost estimation: model-aware cost planning
  • Provider options: OpenRouter, OpenAI, Ollama Local/Hostinger

Quick Start

Prepare SRT files and run the translator script with source/target languages.

Frequently Asked Questions about julien-media-subtitle-translation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I translate SRT subtitle files to another language?

SRT subtitle translation converts subtitle files using LLM APIs while preserving formatting and HTML tags. Prepare your SRT files, specify source and target languages, configure your LLM provider (OpenRouter, OpenAI, Ollama, or Hostinger), and run the translator script to output translated files with restored formatting.

Can I batch translate multiple subtitle files across different episodes or movies?

Batch translation processes multiple SRT files efficiently in a single workflow. The Skill handles sequential or parallel processing of subtitle files, applies consistent language pair rules across episodes, manages retries for failed translations, and outputs all translated files with cost estimation for your entire batch.

Does SRT subtitle translation preserve HTML tags and special formatting?

HTML tag handling extracts markup before translation and restores it in the output, ensuring tags like `<i>`, `<b>`, and timing codes remain valid and correctly positioned in translated subtitles without breaking SRT structure or player compatibility.

What LLM providers can I use for subtitle translation, and how do I estimate costs?

Supported providers include OpenRouter, OpenAI, Ollama (local or Hostinger-hosted). The Skill calculates per-file and batch-level costs based on your chosen model's pricing, token counts, and language pair complexity, helping you plan budgets before running large translation jobs.

How does the translator handle failed or incomplete translations in batch jobs?

Retry logic automatically re-attempts failed translations with exponential backoff, logs errors for debugging, and ensures partial batches can resume without re-translating completed files, improving reliability for large-scale or unstable provider connections.

Do I need to preprocess my SRT files before translation, or does the Skill handle formatting automatically?

The Skill automatically parses SRT formatting—extracting timecodes, sequence numbers, and subtitle text—then restores the exact SRT structure after translation, so standard, well-formed SRT files work without preprocessing.