Document Translator tutorial: split modes, glossary and bilingual export

Open Tool Document Translator

When to use it

I reach for this tool whenever a batch of documentation has to become English. What usually arrives is three thousand words copied out of a word processor, numbering and subheadings included; paste that into a web translator and pull it back and the structure collapses into one block, with every paragraph number gone. Repairing that costs more than translating again.

This tool works in blocks. I split by paragraph first, each paragraph travels alone and comes back alone, and the paragraph boundaries do not move. When one paragraph fails, only that one turns red while its neighbours stay as they were, so I fix a single block instead of rerunning the document.

Close reading is the other use. Given a long foreign article I split by sentence, get a column of short lines, and read the two columns side by side, copying unfamiliar phrases elsewhere as I go. Sentence splitting also suits scripts and subtitles, which already arrive one line at a time.

I pressed this on a full contract once and learned the hard way: terms like the buyer and the seller span paragraphs, so translating block by block scatters the references. Now I fill the glossary first, pinning the parties, the currency and the product names, then translate, and it removes most of the proofreading.

Parameters

I pick the split mode by content type. Prose and documentation get paragraphs, since that keeps the layout; subtitles, interviews and voice-over scripts get sentences, which produce short lines ready to reuse; a two or three hundred character section with no line breaks gets fixed chunks, and I set the size to 180 so each block reads easily.

The chunk size runs from 80 to 450. The ceiling is there for a reason: a block over that length is refused by the server, and those blocks show up red in the page. Better to split correctly at the start than to discover it halfway through.

The glossary takes one source=target line each. English matches whole words, so Brand Kit=brand kit only hits the exact phrase and never BrandKits; Chinese matches substrings, so the party line rewrites every occurrence. Matching ignores case, and both spellings behave the same.

For languages, detection is available but I set the source by hand when I already know it, because one less guess is one less failure; I reach for the drop-down rather than trusting a detector on a two line paragraph. My own habit is to set both languages before touching the text, so a long run never stalls on a wrong direction. I suggest the same for anyone queueing several files. Eight targets, and I pick the one being delivered rather than chaining conversions.

Steps

  1. Paste the text into the field on the left or drop a .txt or .md file. The file cap is 2 MB, so split anything larger first.
  2. Choose a split mode, and set the chunk size when using fixed chunks.
  3. Fill the glossary if terms must match, then pick the source and target languages.
  4. Press translate. The bar moves block by block and the status line reports which block is in flight.
  5. When it finishes, switch to translation only and read each block; anything wrong goes back to the source field and gets retranslated.
  6. Export the bilingual Markdown for the client and keep the plain text copy for my own archive.

Reading the output

The two chips at the top always show the current block count and character count, and I use them to compare against the source: three thousand characters in should still read around three thousand out, and a big difference means paragraphs were merged somewhere people do not expect.

I learned the merge rule from a stack of short headings that kept joining the body text: blocks under 40 characters pair with the next one. the pair still stays under 450 characters, which is why the chips are worth watching on the first run. Short headings therefore often ride along with the first paragraph, which is deliberate because it halves the request count. Anyone who dislikes it can switch to sentence splitting, where nothing merges.

Each block carries one of four states: queued, translating, done, failed. A failed block prints its reason underneath, and the three common ones are over the length cap, rate limited, and the free daily quota spent. The first is a splitting problem; the other two are channel problems that clear on their own.

The bilingual export is Markdown: source first as a quote line, then the translation, and each block gets its own heading so the pair survives a paste into a wiki or a ticket. On a long run I usually export both files, hand the bilingual one to the reviewer and keep the plain text for the CMS. I still adjust heading levels before handing it over, but the body order is already correct and needs no reshuffling.

Questions

Q: Why did every block go back to queued when I fixed one character?

A: The split changed, so block identity changed. Finish the source text before translating; a rewrite mid-run wastes the blocks already paid for.

Q: A glossary line did not apply, why?

A: English only matches whole words, so plurals, hyphens and trailing punctuation miss. Chinese matches substrings, where a typo is the usual culprit.

Q: How long does the quota reset take?

A: The public endpoint counts a daily allowance per outbound IP, and I have seen anything from forty minutes to a day. The status line names the failure so you know it is not your file.

Q: Can it translate a PDF?

A: No, it takes plain text and Markdown only. Extract the text with another tool first, then paste it in.

Q: Does a long document cost more requests?

A: One request per block, so a three thousand character file split by paragraph lands around a dozen calls with the one second gap, which is a few seconds of waiting rather than a minute.

⏫︎