For AI agents: the complete documentation index is available at /en/llms.txt, the full documentation bundle is available at /en/llms-full.txt, and this page is available as Markdown at /en/guide/translation/info.md.
  • English
  • Feature Guide

    Core Features

    Translate Once, Output Many

    Translate the same file into multiple languages in a single run — perfect for multilingual subtitles or i18n projects. For example, translate an English subtitle file into Chinese, Japanese, German, and French at once and download all versions packaged. 130+ languages supported, with more added regularly.

    • Multi-language ZIP packaging: export runs with multiple target languages can be downloaded in a single .zip bundle, avoiding dozens of individual browser download popups.
    • Source language exclusion: when targeting multiple languages, if the source file's language is among the selected targets, the tool automatically skips translating into itself to avoid redundant billing and noise.
    • Export summary: displays a breakdown of successfully downloaded languages once batch exports complete, reporting success only for languages actually written.

    Translation Cache

    Translation results are saved locally in your browser. When parameters match, the tool returns the cached result and skips the API call:

    • Persistent: survives refreshes and browser restarts
    • High capacity: holds millions of records without bloating memory
    • Toggle off: disable temporarily when debugging prompts or model settings. With the cache off there is no checkpoint, so the end-of-run button reads "Translate again" instead of "Resume"
    • One-click clear: wipe every cached translation from Translation service settings
    • Hit conditions: source text + source/target language + service-specific key params must all match (LLMs key off prompt / temperature / thinking effort; Qwen-MT off domains; traditional MT mostly off the source text). Changing temperature, editing prompts, toggling thinking, or editing glossary terms will miss the cache. For GTX / DeepL / DeepLX / Qwen-MT, a non-default endpoint URL is part of the cache key too, so pointing at a self-hosted mirror or relay never replays translations produced by a different address; the built-in default address does not participate.

    Glossary

    Pin fixed translations for names and domain terms so they stay consistent across a whole file — or a whole series. Character names in episode subtitles and product terms in technical docs stop drifting between runs.

    Where to open it: the Glossary chip in the Translation API status card in the right configuration column (shown only when the selected service supports it; once enabled it carries the term count). Clicking it opens a dedicated glossary drawer, separate from Translation service settings. Turning the switch on creates a default glossary automatically if you don't have one yet.

    Managing terms:

    • Each term = source word → required translation, bound to one target language — the same word can carry a different translation per target language, and only the current target language's terms apply
    • Click "Edit terms" to open the editor: inline add/edit/delete, search filtering, duplicate-source warnings, automatic pagination past 50 terms
    • TSV bulk import/export: one term per line as source ⇥ translation (tab-separated, pastes straight from Excel / any spreadsheet); an optional third column takes a target language code (zh, ja, …) so one file can import terms for several languages
    • Multiple glossary presets (e.g. one per show / project) with create, rename, delete — included in settings import/export

    How terms are enforced (multiple layers):

    1. LLM services: only the terms actually present in the current text are injected into the system prompt (no token waste from shipping hundreds of terms with every request)
    2. Qwen-MT: terms go through the official native translation_options.terms parameter — the most reliable channel
    3. Violation retry: if an LLM translation ignores a required term, the offending line is retried once with a stricter instruction, and the version with fewer violations wins
    4. Post-hoc replacement net: on every service, source words left untranslated in the output are replaced per the glossary (word boundaries for Latin terms, substring matching for CJK, longest term first) — so terms always land

    Service support: all LLM services + Qwen-MT. Plain MT APIs (GTX, Google, DeepL(X), Azure, TranslateGemma, MiLMMT) have no in-model term channel, so the glossary card is hidden for them.

    Matching: case-insensitive (AI and ai both match). Glossary data lives in your browser's local storage and is never uploaded.

    Long Text & Concurrency

    Tuned for large documents and batch jobs:

    • Concurrency control: customize request rate — max out paid APIs or throttle free ones to avoid bans
    • Streaming for large files: chunk-based handling keeps the UI responsive
    • Context-aware translation: subtitles and documents get sent with surrounding context so the AI understands flow
    • Per-line retry: failed lines are tracked separately; the rest of the batch isn't blocked

    Failed-Line Retry

    LLMs occasionally drop a line, return an empty response, or break formatting. When that happens:

    • Failed lines automatically fall back to the original text — never empty, so the output is always usable
    • A caution panel appears above the results with the failure count and a troubleshooting hint
    • Click Retry failed lines to reissue only those — completed content stays as-is and isn't re-billed
    • Click View failed lines to open the detail dialog: every failed row with its real source line number, target language and error reason, plus a copy-all button
    • A short toast also reports failures, so a very long result doesn't hide the problem below the fold

    Multi-language batch mode: when translating into multiple targets at once, if a whole target language fails (quota exhausted, model refusal, etc.), the failing language codes get aggregated into a dedicated panel. One-click copy them back into the "target languages" field to retry; the other languages are served from cache and aren't re-billed.

    Network blips, 429 rate-limits, and 5xx errors retry automatically. Bad API key, timeouts, context-length-exceeded, and max_tokens truncation never retry. See FAQ → Will failed translations retry? for the full list.

    Cancel and the run-time settings lock

    While a translation runs, an inline progress strip appears under the input area:

    • Run state: starts at "Checking connection…" and then "Translating"; when the service throttles it turns amber with "Rate-limit cooldown…" and resumes by itself when the cooldown ends
    • Numbers: percentage, lines done / total, live elapsed time; multi-file batches add the current file, and multi-language runs add the current language plus the number of targets
    • Cancel: the button on the right (not a destructive action — finished lines are already cached). Cancelling settles within a second and switches to "Stopped"
    • End state: the strip collapses into one compact row — "Translation complete" / "Some content incomplete" / "Failed lines kept their original text" / "Stopped"; multi-file batches add "N files exported". Below it, Translation timings expands into one row per file × target language with the service / model, elapsed time and status
    • Resume / translate again: after an interruption the row offers Resume — every finished line is cached, so the run continues from the checkpoint without billing twice. With the cache off there is no checkpoint and the button reads Translate again. The ✕ dismisses the row and returns the result area to a clean state
    • Settings and inputs are locked while running: languages, provider, prompts, export format, advanced options, the upload area and the source textarea are all frozen. The whole run executes against the snapshot taken when you clicked "Translate": changing a setting mid-run structurally cannot affect the current run (yet the control would flip, so the UI would be lying), while swapping files or editing the source text mid-run genuinely corrupts the result (it clears the output being written, or leaves you exporting new source with old translations). Cancel first, change, translate again — the cost of doing so is now near zero
    • Most read-only actions stay available: copy and exports of finished output work at any time; Extract text is disabled while a run is in progress
    • Live results: Subtitle, Markdown and JSON translation (single-file runs) embed a Live results panel in the run strip — each finished line / entry shows its source and translation as soon as it arrives; untranslated lines are marked amber as "not translated", and the panel can be collapsed / expanded, with Jump to latest restoring auto-follow after scrolling up

    Local translation history and result comparison

    Each translation tool keeps its own translation history (the "History" button in the tool header), for reviewing and comparing multiple translations of the same file:

    • Stored in your browser: records live in IndexedDB — never uploaded, never synced across devices. Only runs that actually called a translation service are recorded; pure cache replays add no new entry
    • Grouped by file + target language: runs over the same source content (same content hash) land in one group, and each run carries its timestamp, service / model, elapsed time and completion status (including "incomplete")
    • Search and filter: search by file name, language or model; switch between "All" and "Comparable" (comparable = at least two runs in the group)
    • Three views: View (a single translation), Compare (side by side, with a swap button), and Diff (line-by-line highlighting, with "Changes only" and automatic collapsing of identical lines)
    • Import / export: export the whole history as JSON and import it in another browser (duplicates are skipped automatically); delete a single record or clear the current tool's history
    • Save status: if a write fails, the button shows a small dot and "Not saved", and the drawer offers Retry save

    Subtitle output and ASS styling

    Subtitle translation splits its output controls across the configuration column:

    • Output mode: translation only / bilingual / both (two files in one export)
    • Bilingual order: translation on top, or original on top
    • Bilingual format: ASS (original and translation can use separate fonts and colors) or SRT (plain text, both lines in the same time slot)
    • Native ASS styling: keep the source file's styles, or discard them and rebuild the layout with ASS style (dialogue-only subtitles)

    The ASS style drawer offers Default / Two-color / Large / Cinematic / Anime blue outline / Streaming / Boxed / Custom — seven presets plus a custom slot. Translation and original styles are configured separately (font size, text color, outline or box color, outline width, shadow); global options cover the font (installed system fonts can be read), alignment and bottom margin. Exports can also apply width-aware line wrapping based on the frame width and font size (breaking at ending punctuation first, keeping manual breaks), and the drawer shows roughly how many characters fit per line at the current size.

    RTL Language Auto-Adaptation

    Right-to-left languages (Arabic, Hebrew, Persian, Urdu) automatically render right-to-left in the textarea and result view — no manual configuration. Direction is resolved per line: in a file mixing Chinese, English and Arabic, each line is laid out by its own first strong-direction character, so an RTL line never inherits the block's LTR direction and end up with its punctuation on the wrong side.

    For bilingual ASS export, Persian (fa), Urdu (ur), Pashto (ps), Dari (prs), Sorani Kurdish (ckb) and Uyghur (ug) are all registered as Arabic-script, so pairing them with Chinese no longer assigns a Chinese font that has no Arabic glyphs (which exports a screen full of tofu boxes); Hebrew is its own script bucket. The ASS style drawer's preview also shows a sample sentence in the target script.


    Usage Modes

    Batch vs. Single-File

    The tool switches modes based on what you upload:

    • Batch mode (default): drop multiple files, they queue up automatically and download as a bundle when done.
    • Single-file mode: upload one file or paste text — review line-by-line, edit before exporting. In Subtitle Translator, open the Bilingual Review Panel for side-by-side editing:
      • Side-by-side proofreading: original and translated lines align vertically, editable directly in the translation cells. Automatically uses a fixed two-column layout on narrow screens to eliminate horizontal scrollbars.
      • Search and edited-only: the panel header searches the original or translated text, and "Edited only (n)" hides every untouched row; each row has Reset row, and the header shows the live edited count.
      • Live sync & gate on pending edits: the review panel tracks unapplied changes and writes them back to the main result. Copy and export are blocked while edits remain unapplied, ensuring downloaded files never lag what is visible on screen. Reverting an edit back to the original text clears the dirty flag.
      • Subtitle inspection strip and view switcher: after upload you see the format, cue count and total duration at a glance, plus one-click Extract plain text; the result area switches between Review / Subtitle source / Extracted text / Translation result.
      • Markdown / JSON result views: Markdown translation offers Preview / Compare / Source — Preview renders the translated Markdown, Compare switches between rendered and raw, edits carry an Edited badge with Reset edits. JSON translation offers JSON / Key-value / Compare — Key-value searches paths, source or translation, filters to translated rows, edits translations row by row with Reset edits and pages through the list; Compare puts source and translated JSON side by side. In multi-language mode a language tab strip above the result card switches between languages.

    Advanced settings let you lock to single-file mode if you prefer.

    Tip

    JSON Translate is single-file mode only.

    One-Click Source/Target Swap

    A ⇄ button sits between the source and target language dropdowns — click to swap them. The button greys out when the source is "Auto-detect" or when multi-language mode is on (you can't swap "auto" or against multiple targets).

    Language Picker

    All target languages are grouped by geography + speaker count (Common / Europe / Middle East / Central Asia / South Asia / Southeast Asia / Africa / Americas & Oceania) so you can find what you need fast. Multi-language mode adds four quick-preset buttons that merge-select common bundles:

    • Global Top 10: the 10 most-spoken languages (English, Chinese, Spanish, French, Japanese, Portuguese, German, Russian, Hindi, Arabic)
    • European mainstream: French, German, Italian, Spanish, Portuguese, Dutch, Polish, and other commercial European languages
    • East Asian: Chinese (Simplified + Traditional), Japanese, Korean, Cantonese
    • Indian subcontinent: Hindi, Bengali, Tamil, Marathi, Gujarati, and other major South Asian languages

    In single-language mode the tool also remembers your last 5 picks and surfaces them in a "Recent" group at the top of the dropdown. The mobile layout collapses to a single column automatically.

    API Connection Status

    The configuration column carries a full Translation API status card:

    • Status tag: Needs config (URL or API key still missing) / Configured (filled in, not tested yet) / Testing → ✓ Connected or Connection failed; keyless free services show Free API
    • Service and key: switch service (searchable) and enter the API key right on the card; the current model tag next to it opens settings when clicked
    • Test connection: sends one real request using the current Timeout; failures separate timeouts from other errors
    • Glossary chip: appears when the current service supports glossaries, and carries the term count once enabled
    • Cache off: an amber reminder shown when caching is disabled — click to turn it back on
    • Translation service settings: the link at the bottom right opens the full settings drawer

    The whole card locks while a translation is running, so configuration can't change mid-run.

    Translation service settings

    Click Translation service settings at the bottom right of the status card to open the settings drawer (not available while a run is in progress). The layout is now a two-column master–detail:

    • Service list on the left: search providers, filter by All / Configured (with a configured count); subscription-tier endpoints (Volcengine Ark Coding Plan, Alibaba Bailian Token Plan) stay hidden by default — expand Advanced settings below and turn on Show subscription plan endpoints
    • Service configuration tab on the right: Credentials (API URL, API key, relay switch, …), Model (dropdown + free text, temperature, thinking effort, domain hint, …) and a collapsible Call parameters section (chunk size, concurrent lines, context lines, context concurrency, delay)
    • LLM prompts (global) tab: system / user prompts and Prompt presets shared by every LLM service — switching services never resets them
    • Top actions: Reset defaults restores the current service's config, Test API verifies connectivity immediately, and the API docs link next to the service name opens the documentation for the currently selected endpoint (hidden when you enter a custom URL)
    • Bottom: Clear cache wipes every cached translation in this browser

    Services and models move with app releases: for example OpenCode's upstream renamed Zen to Console, so the entry here is OpenCode Console (endpoint and keys stay compatible).

    Presets: API Config, Prompts, and Glossaries, Separately

    API configs, prompts, and glossaries are stored as three independent preset types so they combine freely:

    • API presets (Custom / OpenAI-compatible): save multiple URLs, keys, models and temperatures for custom endpoints in Service configuration — handy when switching between local Ollama, a remote gateway and an aggregator
    • Prompt presets: save system and user prompts in the LLM prompts (global) tab, switching between a "strict terminology" prompt and a "creative paraphrase" prompt without touching the API config
    • Glossary presets: maintain separate term bases per show / project in the glossary drawer — see Glossary above

    All three types support add / load / update / delete, and travel with settings import/export.

    Post-Translation Cleanup

    After translation, the tool can automatically apply simple string replacements:

    • Character filtering: strip stray symbols like ♪ ♫ from subtitles
    • Format cleanup: remove leftover HTML tags
    Tip

    This feature does plain string replacement only — no escape sequences (\n, \t etc.). Use the Text Splitter for richer transformations.

    Export to a chosen folder

    Exports go to your browser's download folder by default. Browsers with the File System Access API (Chrome / Edge) show an Export folder button in the results area: pick a folder once and every export lands there; Back to the download folder returns to the default.

    • The browser won't accept the Desktop, Documents, Downloads or user folder itself as the target — pick a subfolder or any other folder
    • Firefox and Safari don't expose the API, so the button never appears and exports keep using the default download folder
    • The API requires a Secure Context: it only activates under HTTPS or http://localhost. When accessed over a LAN IP (e.g. http://192.168.x.x), browser security policies disable the API and hide the button automatically. For silent folder saving over a LAN, set up an HTTPS reverse proxy or see the FAQ entry on Docker and LAN IP file saving

    Advanced Settings

    Settings Import/Export

    The save icon in the configuration card's title bar offers two exports, with the import button next to it:

    • Export shareable settings: service choice, models, prompts, glossaries and every preset type — but no credentials: each service's API key, API URL, region, Folder ID and relay switch are stripped, so the file is safe to post in a group chat or commit to a repo
    • Back up with credentials: a full backup that carries API keys and connection settings in plain text; a confirmation dialog warns you before export. Keep it somewhere private and never share it publicly

    Both file kinds import across devices. After importing shareable settings you'll need to re-enter the credentials; config files exported by older versions still import fine.

    General Options

    • Use translation cache: enabled by default. Reads cached results when parameters match. Disable temporarily while debugging.
    • Retry count: maximum retries on failure. Bump it up on shaky networks or rate-limited free endpoints.
    • Timeout: per-request timeout in seconds. Increase for slow models or long text. The Test Connection buttons use the same threshold - the test is never stricter than the translation it guards.
    • Max tokens (Custom OpenAI-compatible only): optional output cap to prevent local small models from getting stuck in repetition loops — 2048–4096 recommended for local models. Default 0 (unlimited). When a response truncates (finish_reason=length), the line is marked failed and won't retry — same params would truncate again. Cloud LLMs rely on the server-side default and don't expose this control.
    • Remove characters after translation: auto-strip specified characters or fragments from results (e.g., ♪ in subtitles, leftover <i> tags).
    • Custom export filename: defaults to {name}.{ext} — single-language exports keep the original name, nothing appended. When one run targets multiple languages and the pattern doesn't already contain {lang}, .{lang} is auto-injected before the extension so the results don't collide. Placeholders: {name} (source filename), {lang} (target language), {ext} (extension), {date} (local calendar day, YYYY-MM-DD), {time} (HHMMss). Want the language suffix always on? Use {name}.{lang}.{ext}, or combinations like {name}.{lang}.{date}.{ext}.

    API Parameter Tuning

    Chunk size

    Non-LLM APIs (Google / Azure) split long text into chunks before sending. Chunk size is the per-chunk character cap. Common limits:

    APIMax characters per request
    DeepL API128,000
    DeepLX Free1,000
    Azure Translate10,000
    Google Translate Web5,000
    Google Cloud API30,000

    ⚠️ Google Translate Web breaks line breaks, so chunking is disabled there.

    Delay (ms)

    The cooldown between chunked requests. Increase on poor networks or free APIs. For example, Azure Translate Free Tier works best at 5000 ms or higher.

    Concurrent lines

    The max number of lines translated in parallel. The default is already tuned per service — free APIs run fast, paid APIs default to safe. Bump it up if you want speed, drop it on 429 rate-limits, otherwise leave it alone.

    Defaults per service (reference)
    • GTX (Free): translates in batched chunks (~5000 chars/block), not line-by-line concurrency
    • Edge (Free): 100
    • Commercial MT (Google / Azure / DeepL): 20-100
    • Cloud LLMs (Claude / Gemini / OpenAI / Qwen, etc.): 20
    • Custom local LLM / TranslateGemma / MiLMMT / DeepLX: 10

    Context mode concurrency

    • Default: 3 (1 for some providers)
    • What it does: in context-aware mode, how many "target lines" go into a single request. Each request also carries the surrounding context.
    • Trade-off: larger values give higher throughput but force the model to emit more lines per response, raising the chance of formatting drift. Smaller values are steadier but use more requests. Stick with 3 for documents/subtitles, push to 5 for plain text.

    Context lines

    How many surrounding lines accompany each batch sent to the model — more = more coherent, but heavier requests. The default is tuned, normally no need to change. Drop it if you hit "context length exceeded"; raise it for better dialogue flow.

    Defaults per service (reference)
    • Cloud LLMs (Claude / Gemini / Nvidia / Azure OpenAI, …): 50
    • Custom local LLM: 30 (models under 14B tend to drop lines in long batches, hence the smaller default)

    Earlier versions defaulted cloud LLMs to 100. In practice an over-long context made models more likely to treat context lines as content to translate, shifting the output by a line, so the default was lowered to 50.