Bulk Replacev5.21

Fix translated terms across your Google Docs novels in bulk

1Novels and foldersLoad your list and tick the novels to fix
No folder selected.

Tick the folders to fix. Tap ▸ to see subfolders, tap a chip to remove a folder. Ticks are remembered on this device.

Extra folders and subfolder options

Only ticked folders (and their subfolders) are processed. Tap ▸ to see subfolders. Tap a chip to remove a folder. Your ticks, including subfolders, are remembered on this device.

2Term pairsWrite wrong => correct, one per line

Format: wrong => correct. Leave the correct part empty to delete that word. Several wrong spellings of one term can share a line, separated by " | " (example: tar bhai | tar bhaiya => his brother).

Pair tools

Check pairs warns about very short terms, duplicates, chains (a result that a later pair changes again) and invalid patterns. Swap sides turns every "wrong => correct" into "correct => wrong", which is the easiest way to undo a replacement. Fix separators turns tab, -> and → into => (handy after pasting from a spreadsheet). Prepare undo of last run writes the reverse pairs of your last replace and limits the next run to the files it changed; then run Preview and untick anything that should stay.

Glossary (save term lists per novel)
3Chapter range and optionsChoose chapters, then Preview

Chapters

The range uses the chapter number in the file name (Chapter 12, Ch 12, or the first number). Files without a number are skipped. Leave both empty for all chapters.

Matching

Run

Glossary audit (count every term, nothing is changed)

Counts how often each pair of Step 2 occurs in the files chosen above (same folders, range, filter and matching options as Preview). Tap a term to list its matches in Find only. Stop keeps the partial result.

Find new terms and spelling variants (nothing is changed)

Reads the files chosen above and lists capitalized names and phrases (1-3 words) that are not in your glossary yet. "Spelling variants" groups spellings that look like one name (Xiao Yan / Xiaoyan / Siao Yan); tap the correct one to add the pair. Stop keeps the partial result.

Ignore words and Do-not-translate list
Glossary entries (raw terms)0

Entries keep the raw term (JP / KR / CN / RU / EN) next to the wrong spellings and the correct term. They produce normal wrong => correct lines, so everything else works as before. Set used (the glossary name typed or selected in Step 2):

Raw chapters (where each raw term appears)

Link a novel to the Drive folder with its raw chapters (Google Docs, chapter number in the file name). "Find raw terms" reads the raw docs and stores, for every entry with a Raw term, the chapters where it appears. Nothing is written to Docs.

Import and export entries

CSV / TSV / JSON. Columns: Raw, Wrong, Correct, Language, Type, Note, From, To. Several wrong forms in one cell: separate with " | ". Without a header row, 3 columns = Raw, Wrong, Correct and 2 columns = Wrong, Correct. Spreadsheet cells pasted below work too.

If an entry already exists (same raw + correct):

Coverage report

Shows which entries of this set were found (used) or not (unused), with the chapters. It reads the result of the last Glossary audit or Preview, so run one first. Nothing is scanned here.

Change log

Every change to entries (add, edit, delete, import, merge, undo) is logged here, newest first. Imports show up as added or changed lines. Kept on this device (last 200 lines) and in the backup.

Raw line helper

Paste a raw line. Known terms come from the Glossary entries of the set above (longest match first); other words are romanized by rule. Approximate: dictionary substitution and rule romanization, not real translation. Works offline.

Chinese dictionary (optional)

No Chinese dictionary is built in. Import a TSV file (one line: characters, TAB, pinyin) to romanize Chinese words. Without it Chinese characters stay raw. Stored on this device and included in the backup.

History of runs

Every finished replace is saved on this device with the chapters and the matches that were changed. Open a run to see it again, save its report, prepare an undo, or delete it. History is only included in the backup file if you tick that option in Backup and restore.

Works with reports saved by "Save report" or from a history run, for finished replaces only.

Guide: how to useEvery feature with steps and examples0/0

New here? Follow the 5 quick steps. Then open any topic: what it does, steps, a before/after example and a tip. "Go there" jumps to the real button.

Settings and accountGoogle sign-in, profiles, theme

Saved in this browser. Leave empty and save to use the default ID built into the code.

Profiles (switch Client ID and folder ID in one click)

Picking a profile switches to its Client ID and My Work folder ID at once; then reload the novel list. Profiles are included in the backup.

Honorific rules (keep, translate or drop)

Applies only to entries with "Has honorific" ticked in Glossary entries. Keep = the name changes, the honorific stays. Drop = name and honorific become the correct term. Translate = the honorific is replaced by your text. Type honorifics without the hyphen (san, not -san). Matching uses lowercase as typed; use Whole word mode.

Shortcuts on a computer: Ctrl+Enter = Preview, Esc = Stop.

Backup and restore

A backup file holds your settings, glossaries, current pairs and options. It never contains your login token, so it is safe to keep.

No results yetPick folders and add terms, then run Preview. Nothing changes until you confirm.