Translarr

Translarr

Docker 应用程序 from jesposito's Repository

概述

Translarr translates subtitle tracks from the wrong language into your preferred language using AI. It plugs into Sonarr, Radarr, Emby, Jellyfin, and Plex via webhooks and drops translated .srt files next to your media.

When a release lands with Russian fansubs on a Japanese anime, or hardcoded Spanish on a Korean drama, Translarr extracts the track, translates it with a context-aware LLM, adjusts timing for the target language's reading rate, and writes a clean .srt next to the video.

Features:

  • LLM-powered translation with context awareness (Anthropic Claude, OpenAI, DeepSeek, Gemini, or local Ollama)
  • Automatic reading-rate adaptation so subtitles stay readable
  • Tag-based opt-in via Sonarr/Radarr: only translates what you tag
  • On-demand translation when you press Play in Emby
  • 6 translation presets: Quick & Cheap, Balanced, Best Quality, Local & Free, DeepSeek Budget, Gemini Flash
  • Cost guards: daily and per-job spend caps
  • Push notifications via ntfy.sh
  • Web UI: dashboard, job history, settings, library browser, glossary editor
  • All settings are live-mutable, no container restart needed

运行时参数

网络用户界面
http://[IP]:[PORT:9000]/
网络
bridge
外壳
sh
特权
false

模板配置

Web UI PortPorttcp

Host port to map to container port 9000 (Web UI and API).

目标
9000
默认值
9100
价值
9100
Media LibraryPathrw

Path to your media library (movies, TV shows). Translarr writes translated .srt files next to source videos.

目标
/media
默认值
/mnt/user/media
价值
/mnt/user/media
Config / DataPathrw

Persistent storage for database and settings. Include this in backups.

目标
/data
默认值
/mnt/user/appdata/translarr
价值
/mnt/user/appdata/translarr
LLM ProviderVariable

anthropic, openai, ollama, deepseek, or gemini

目标
LLM_PROVIDER
默认值
anthropic
价值
anthropic
LLM ModelVariable

Model identifier (e.g. claude-sonnet-4-6, deepseek-chat, gemini-2.5-flash).

目标
LLM_MODEL
默认值
claude-sonnet-4-6
价值
claude-sonnet-4-6
Anthropic API KeyVariable

Required when LLM Provider is anthropic. Get one at console.anthropic.com.

目标
ANTHROPIC_API_KEY
Target LanguageVariable

ISO 639-1 code for target language (en, de, es, fr, ja, etc.).

目标
TARGET_LANG
默认值
en
价值
en
Daily Cost Cap (cents)Variable

Hard kill-switch in cents (1000 = $10). Translations stop until midnight UTC.

目标
MAX_COST_CENTS_PER_DAY
默认值
1000
价值
1000
OpenAI API KeyVariable

Required when LLM Provider is openai.

目标
OPENAI_API_KEY
DeepSeek API KeyVariable

Required when LLM Provider is deepseek. Approximately $0.10 per episode.

目标
DEEPSEEK_API_KEY
Gemini API KeyVariable

Required when LLM Provider is gemini. Flash tier is approximately $0.08 per episode.

目标
GEMINI_API_KEY
Per-Job Cost Cap (cents)Variable

Max spend per single translation in cents (500 = $5).

目标
MAX_COST_CENTS_PER_JOB
默认值
500
价值
500
Max Concurrent JobsVariable

How many translations may run in parallel.

目标
MAX_CONCURRENT
默认值
2
价值
2
Webhook SecretVariable

Shared secret for arr webhook auth. Empty = no auth (fine on a private LAN).

目标
WEBHOOK_SECRET
Emby URLVariable

Emby server URL for library refresh hooks (e.g. http://emby:8096).

目标
EMBY_URL
Emby API KeyVariable

Emby API key for library refresh and the in-player subtitle picker.

目标
EMBY_API_KEY
Jellyfin URLVariable

Jellyfin server URL for library refresh hooks.

目标
JELLYFIN_URL
Jellyfin API KeyVariable

Jellyfin API key for library refresh.

目标
JELLYFIN_API_KEY
ntfy URLVariable

ntfy.sh push endpoint for job notifications. Empty = off.

目标
NTFY_URL
Ollama HostVariable

Ollama server URL (for the free local provider).

目标
OLLAMA_HOST
默认值
http://ollama:11434
价值
http://ollama:11434

详细信息

存储库
ghcr.io/jesposito/translarr:main
最后更新2026-05-31
初见2026-05-26

在Unraid 上运行 Translarr 。

Translarr 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。