GUIDE · HINGLISH AI · 4 MIN READ
Translating into Hinglish with an LLM: the rules that stopped the drift
We asked an LLM to turn a 136-page English text into a bilingual English and Hinglish book. The first version drifted from translating into explaining. Two rules fixed it. Here they are, with examples you can copy.
Founder, Bodham LabsPublished · Updated
THE SHORT ANSWER
- An LLM produced a bilingual English + Hinglish EPUB of a 136-page English text, in three versions, 1–4 May 2026.
- Version 1 drifted into commentary: it started describing the text (“इस page में author बोलते हैं”) instead of translating it.
- The fix: strict 1:1 sentence order. One Hinglish sentence per English sentence, same order, same meaning.
- The word rule: DD News/NCERT words → English. Coffee shop words → Hindi. Technical terms → always English.
What do we mean by Hinglish?
Hindi grammar and everyday Hindi words, written in Devanagari, with English kept for technical terms and for the words people actually say in English. It is how many Indian classrooms, offices and families talk. A sentence like “Battery circuit में current को push करती है” is normal speech in a Delhi physics class. A fully Sanskritised version is correct and hard to follow.
That is why it matters to us. We explain things this way in class, and our Hindi and Hinglish AI work is built for people who speak it.
What did we build?
In May 2026 an experimental agent used an LLM to turn a 136-page English text into a bilingual EPUB: each English passage with its Hinglish translation. We built three versions between 1 and 4 May.
| WHAT | VALUE |
|---|---|
| Source | A 136-page English text |
| Output | Bilingual EPUB, English + Hinglish |
| Versions | 3, built 1–4 May 2026 |
| Assembly | Python standard library only: pages, glossaries, diagrams |
| Batching | Large batches split to stay within output limits |
| Quality score | Not measured yet |
How did version 1 drift?
Version 1 stopped translating and started describing. Instead of rendering a sentence, it would write lines like this:
इस page में author बोलते हैं…
That is commentary, not translation: “on this page the author says…”. Language models are trained to be helpful, and with a loose instruction, summarising feels helpful. For a reader it is a trap. They can no longer tell the author's words from the model's.
What rules stopped the drift?
Two rules did most of the work. The first is about faithfulness:
The Hinglish layer must be a faithful sentence-by-sentence translation that preserves the original text's meaning.
In practice that meant strict 1:1 sentence order. One Hinglish sentence for each English sentence, in the same order. No merging, no skipping, no introductions. The second rule is about which words stay English:
DD News/NCERT words → English. Coffee shop words → Hindi. Technical terms → always English.
The idea: if a Hindi word is one you only hear on the news or read in a textbook, use the English word people actually say. If it is a word you would use over coffee, keep it in Hindi.
| ENGLISH | FORMAL HINDI | IN OUR HINGLISH | RULE |
|---|---|---|---|
| current | विद्युत धारा | current | Technical → English |
| circuit | परिपथ | circuit | Technical → English |
| important | महत्वपूर्ण | important | News/textbook word → English |
| because | चूँकि | क्योंकि | Everyday word → Hindi |
| but | किंतु | लेकिन | Everyday word → Hindi |
What does a faithful sentence look like?
Here is one sentence, written for this note, in three versions:
| VERSION | TEXT |
|---|---|
| English | The battery pushes current through the circuit, but the resistor slows it down. |
| Drifted | इस sentence में author battery का role समझा रहे हैं। |
| Faithful | Battery circuit में current को push करती है, लेकिन resistor उसे slow कर देता है। |
The faithful version keeps the order, the meaning and the technical words. It adds nothing.
How would you check a long translation at scale?
- Count sentencesEach page should have the same number of sentences in both languages.
- Search for meta phrasesLines like “इस page में” or “author कहते हैं” are almost always drift.
- Keep batches smallSplit long sections so the model never runs out of output mid-page.
- Have a person read samplesPick random pages and compare them with the source, sentence by sentence.
What this does not prove
- No quality score yet. We have not had human reviewers score the translation.
- One text, one setup. Another subject or another model may drift in other ways.
- A prototype. It is not a claim that LLM Hinglish is ready to publish without a human editor.
What we decided
For any translation into Hinglish, the rules come first: 1:1 sentence order, the word-choice rule, small batches. A fluent output that adds commentary is a failed translation, however good it reads.
Questions
How do you stop an LLM from adding commentary when it translates?
Make the translation strictly 1:1: one translated sentence for each source sentence, in the same order, keeping the meaning. Our first version drifted into commentary; this rule fixed it.
Which words should stay in English when writing Hinglish?
Our rule: DD News/NCERT words → English. Coffee shop words → Hindi. Technical terms → always English.
RAW DATA
The logs and notes behind every number on this page. Available on request.
CITE THIS NOTE
Chandra, P. (2026). Translating into Hinglish with an LLM: the rules that stopped the drift. Bodham Labs Notes.
Founder of Bodham Labs. BTech in Electrical Engineering, MCA and B.Ed; teaches AI and builds the systems in our work ledger.