Legal translation

From LegalQuants/lq-skills · View interactive version

Legal translation is an AI agent skill from the GitHub repository LegalQuants/lq-skills. Expert-level legal document translation — understands law, not just language. Use whenever a user wants to translate any legal document or legal text between any languages. Triggers: "translate this contract/agreement/order/affidavit/MoU/lease/ notice/petition", any legal document upload with a targ

How to use this skill

Skill file

Legal Translation Skill `v0.2.0`

Legal translation that thinks about legal effect, not literal words.

This skill is the international extension of Modern Jurist — a legal translation

app originally built for the Indian legal ecosystem (English ↔ Hindi, Marathi, Gujarati,

Kannada), which reached an advanced stage of development and was recognised for its

approach of translating legal intent and effect, not just words. This skill takes that

same philosophy global: every language pair, every jurisdiction, every document type.

The goal is not to produce a finished translation. The goal is to produce a high-quality

draft that a bilingual lawyer or qualified legal translator can review, verify, and

finalise for use.


Audience

This skill is designed for use by:

Not for: end-clients self-serving translations of binding instruments without lawyer review. Every output from this skill is a draft, not a final-form instrument.


Not in Scope

Stop and redirect if the request falls into any of these categories:

If any of the above applies, say so clearly and stop.


Work Shape

This is accretive-judgment work — the output is a draft for a bilingual reviewer, not a final-form instrument. Every output must:

  1. Be watermarked: ⚠ DRAFT — Bilingual lawyer or qualified legal translator review required before execution or filing
  2. Include clause-level confidence bands (see Step 3)
  3. Include at least one specific clause flagged for lawyer review in Translator's Notes
  4. End with the delegation gate (see Step 6)

Escalation Triggers — Halt and Ask

Stop translating and ask the user before proceeding if any of the following apply:


The Four Layers of Legal Translation

Every legal translation must work at all four layers simultaneously:

  1. Linguistic — correct grammar, syntax, vocabulary in target language
  2. Legal-technical — correct legal terms of art, not dictionary translations
  3. Jurisdictional — how this type of document is actually drafted in the target language's legal system
  4. Pragmatic — does this read like it was drafted natively? Would a lawyer in the target jurisdiction trust this document?

A translation that passes Layer 1 but fails Layer 4 is useless for legal purposes.


Step-by-Step Workflow

Step 1 — Intake and Analysis

Before translating a single word, analyze the document:

Required inputs — if any are missing, ask before proceeding:

Also identify:

Read the right reference file:

State your intake findings briefly before translating, e.g.:

"Detected: English lease agreement (Indian jurisdiction) → Hindi (Maharashtra). Parties: Landlord / Tenant. Defined terms: 8. Special clauses: arbitration (Mumbai seat), notice period. No escalation triggers. Proceeding."

Step 2 — Pre-Translation Glossary Build

For any document over ~200 words, mentally build a translation glossary first:

  1. List all defined terms in the source document
  2. Assign their target-language equivalents (consistently)
  3. Note any terms with no direct equivalent in the target legal system
  4. Note proper nouns, company names, reference numbers — flag these as UNTRANSLATED

For long documents, show this glossary to the user before proceeding:

"Before I translate, here are my term mappings: [table]. Does this look right?"

This is the single most important quality step. Inconsistent term translation is the #1 failure mode in legal translation.

Step 3 — Translate with Confidence Bands

The golden rule: Translate legal effect, not legal words.

Assign a confidence band to every clause or section:

| Band | Meaning |

|------|---------|

| 🟢 H | Standard term with a well-established direct equivalent in the target legal system. Low reviewer burden. |

| 🟡 M | Term of art with a documented equivalent, but jurisdictional drift is possible. Reviewer should verify. |

| 🔴 L | No direct equivalent in target legal system — explanatory translation only. Lawyer must review and adapt. |

Mark each clause or section with its band in the output: [H], [M], or [L].

Apply these rules without exception:

Structure
Legal Language Conventions
Defined Terms
Proper Nouns — STRICT RULE
Dates and Numbers — STRICT RULE
Operative vs Recital Language

Step 4 — Transliteration (when requested or needed)

Transliteration = converting a word's sounds into a different script, while translation = converting its meaning.

When to transliterate vs translate:

| Scenario | Approach |

|----------|----------|

| Party name in a different script | Transliterate (e.g., "Rahul Sharma" → "راحل شرما" in Urdu script) |

| Company name | Transliterate, never translate |

| A legal term that exists in the source jurisdiction but not the target | Translate + transliterate original in parentheses |

| Place names | Translate official name if one exists; otherwise transliterate |

| Currency names | Translate (rupee → روپیہ) |

| Legal latin phrases (force majeure, mens rea, etc.) | Keep in Latin; add translated meaning in parentheses |

Transliteration quality rules:

Always mark transliterations clearly: [transliteration] or in italics

Step 5 — Format and Present Output

Mandatory output header on every translation:

⚠ DRAFT — Bilingual lawyer or qualified legal translator review required before execution or filing
Skill: legal-translation v0.2.0 | Source: [language/jurisdiction] | Target: [language/jurisdiction]

For inline text (pasted content, short extracts):

Show the full translated text in a clean block with confidence bands per clause. Follow with Translator's Notes.

For full documents:

---
⚠ DRAFT — Bilingual lawyer or qualified legal translator review required before execution or filing
---
[DOCUMENT HEADER - translated]
---
[Full translated document body — each clause marked [H], [M], or [L]]
---
TRANSLATOR'S NOTES:
[See Step 6]
---

For file inputs (PDF/DOCX) → file outputs:

For bilingual documents (side-by-side):

Present in a two-column table: Original | Translation, clause by clause, with confidence band in a third column.

Step 6 — Translator's Notes and Delegation Gate

Every output ends with this structure:

TRANSLATOR'S NOTES
==================
Confidence summary: [X clauses H] [Y clauses M] [Z clauses L]

Terms with no direct equivalent:
• [term] — [what was chosen and why] [L]

Jurisdictional gaps:
• [any concept that exists in source jurisdiction but not target]

Flagged for mandatory lawyer review:
• Clause [X] — [reason: untranslatable term / jurisdictional gap / operative ambiguity]
• [at least one clause must always be listed here]

Transliteration key:
• [any names or terms that were transliterated]

─────────────────────────────────────────────────────
DELEGATION GATE

This output is a translation draft, not a final-form legal instrument.

✗ This is NOT legal advice. Interpretation of legal effect in the target 
  jurisdiction is the responsibility of a qualified lawyer in that jurisdiction.

✗ Privilege warning: If this document is privileged or work-product protected,
  sharing it for translation may break privilege unless the translator is within 
  the privilege circle. Confirm with supervising counsel before sharing.

✗ Accountability: The bilingual lawyer or qualified legal translator reviewing 
  this draft is accountable for the final translation — not this skill.

✗ For court filing, official submission, apostilled documents, or certified use:
  engage a sworn/certified translator in the relevant jurisdiction.
─────────────────────────────────────────────────────

Failure Modes

(i) Legal advice vs. legal support

This skill provides translation support, not legal advice. It does not and cannot:

Interpretation of legal effect in the target jurisdiction is the local lawyer's call.

(ii) Privilege implications

Translating a privileged document or work-product may break legal professional privilege if the document is shared outside the privilege circle. Before translating any litigation document, draft legal advice, or privileged communication:

(iii) Accountability gap

This skill produces a draft. The bilingual lawyer or qualified legal translator named in the engagement is accountable for the final translation. This skill is not a substitute for professional accountability.


File Handling

| Input type | Method |

|------------|--------|

| Uploaded PDF | Use pdf-reading skill: pdftotext -layout first; rasterize pages if garbled/scanned |

| Uploaded DOCX | Use docx skill: extract-text document.docx |

| Pasted text | Translate directly |

| Scanned image/PDF | Rasterize pages with pdftoppm, read visually via vision, then translate |

| Output type | Method |

|-------------|--------|

| Chat (default) | Present translated text in clean formatted block with draft watermark |

| DOCX output | Use docx skill to produce formatted Word document; include draft watermark in header |

| Bilingual DOCX | Two-column table + confidence band column in DOCX via docx skill |

| PDF output | Use pdf skill |


Document Type Library

Quick reference — for full patterns, see references/document-type-library.md.

| Document Type | Key Features to Preserve |

|---------------|--------------------------|

| Contract / Agreement | Definitions section, operative clauses, representations & warranties, governing law, dispute resolution |

| MoU / LoI | Non-binding language, intent clauses, exclusivity provisions |

| Affidavit | Solemn declaration language, deponent identity, court reference, jurat |

| Power of Attorney | Scope of authority, revocation terms, principal/agent designations |

| Will / Testament | Testator identity, beneficiary designations, executor appointment, revocation of prior wills |

| Lease / Tenancy Agreement | Property description, rental amounts, term, renewal, termination clauses |

| Court Order | Court identity, case reference, operative orders, compliance timelines, judge's authority |

| Legal Notice | Notice period, demand/action requested, consequences of non-compliance |

| Petition / Application | Court/authority addressed, relief sought, grounds, prayer clause |

| Corporate Resolution | Entity identity, quorum, resolution operative language, authorization |

| IP Assignment | IP description, consideration, warranty of ownership, assignment operative clause |

| Employment Contract | Designation, compensation, IP assignment, non-compete, termination |

| Arbitration Clause | Seat, rules, language, number of arbitrators |

| Immigration Document | Personal data fields, authority stamps, reference numbers |


Supported Language Pairs

This skill handles all major language pairs. For language-specific conventions and script guidance, see references/legal-language-conventions.md.

Priority legal languages (most common in international legal work):

Script awareness:


Quality Checklist

Run this before presenting any translation:


Reference Files

Read these when needed — do not load all at once:


Review cadence: ad hoc. Report issues at https://github.com/braveheartjun/Modern-Jurist-international-legal-translation-skill/issues

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.