Translation Editor
Work in progress. A CAT (Computer-Assisted Translation) editor for line-by-line translation of Pali Canon texts — convenient input, quick templates, and two ways to work with the text.
This is a demo with SN 56.11 and an existing translation loaded; saving does not work here.
The editor opens for everyone: the Pali text and the published translations. Saving to the server, and loading the AI draft translations into the Russian editor, are for translators: sign in with Google (the sign-in icon at the end of the top bar; without it, Save still downloads the file and says “Sign in with Google first.”).
Toolbar
- ◀ ▶ — previous/next text.
- Sutta number — type an id (e.g.
sn56.11,an3.70), with auto-detection of whether a translation already exists. - Source language — pick the source file's language.
- DT.org — open dhammatalks.org/suttas/.
- DG — open the current text on Dhamma.Gift.
- Update — reload the translation from source.
- Find/Replace — a search-and-replace window (escape
(,),[,]as\(,\),\[,\]). - Format (checkbox) — auto-format line breaks.
- Clear — clear the input field.
- Open file / Load from server — open a previously saved draft.
- Save — download the translation as JSON and, for a signed-in translator, save it on the server.
In the top bar, the Diff Checker icon opens an external tool for comparing text versions.
Two input modes
Table mode
A two-column table (Text | Translation) — each row is edited separately.
- Click a cell — edit it.
- The 🔗 icon — jump to this row in quick-entry mode.
- ↑ / ← at the start of a cell — move to the cell above.
- ↓ / → at the end of a cell — move to the cell below.
- Enter — add an empty row, or wrap text onto a new row.
- Ctrl+Enter — move text to the start of the next row.
- Backspace at the start of a row — merge with the previous row.
- Delete at the end of a row — merge with the next row.
Quick-entry mode
One large text field — the whole translation at once, synced live with the table.
- Ctrl+Q (or the button after Find/Replace) — select a range of rows and merge them into one.
- Ctrl+Shift+F / Ctrl+Shift+H — open Find/Replace (same escaping for
()/[]).
Quick templates
Inside the Find/Replace window there are buttons for phrases that come up over and over in the canon. One click inserts the text at the cursor (in this editor, the inserted text is in Russian): 4nt / 4nt short (the Four Noble Truths formula, full and short), n8p / n8p short (the Noble Eightfold Path), Thus said… (a sutta's closing formula), plus an em-dash, curly quotes, and an inverted question mark for punctuation.
File name
Save names the file by the text and the translator
(sn56.11_translation-en-thanissaro.json); the tr. o checkbox next to
Format puts o in place of the translator — for final versions.