Logo van Translation Sync

Translation Sync

Community
Mikefluff
translation-sync

Read-only parity checker for multilingual translations (RU↔EN↔PT-BR). Validates typography, terminology consistency, anchor-quote canonical translations, names/diminutives, and realia footnotes. Produces a parity report; never edits. Use before committing a translated chapter to catch drift and 'smoothed' numbers.

Overzicht

UitgeverMikefluff
Repositoryskills
Skillnaamtranslation-sync
Sterren
26
Forks
2
Meegeleverde bestanden
8
LicentieMIT
Links
  • Instructies in Markdown

    Een SKILL.md-bestand dat het model laadt wanneer nodig, zodat het alleen tokens kost als een verzoek er daadwerkelijk bij past.

  • Werkt met elk LLM

    AI-skills zijn gewone Markdown, geen aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • 8 meegeleverde bestanden

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. Bestanden zijn alleen-lezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door Mikefluff op GitHub. Lees de broninhoud voordat je de skill installeert.

Installatie

Installeer de AI-skill Translation Sync in TypingMind om deze met elke LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map — het leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/Mikefluff/skills/tree/main/skills/translation-sync
  4. Schakel de skill in elke chat in waarin je deze beschikbaar wilt hebben.
Plug-ins → Skills → Nieuwe skill → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Mikefluff/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/translation-sync .claude/skills/translation-sync
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Translation Sync in een willekeurige chat in TypingMind in en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek erbij past, laadt het model zelf de volledige instructies — je hoeft de skill nooit handmatig aan te roepen en deze kost pas tokens wanneer je de skill daadwerkelijk gebruikt.

Het model laadt Translation Sync automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Translation Sync niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Use cases:

  • before git commit — check staged changes in any of the three language directories
  • chapter audit — run a full parity check on a chapter file across all three languages
  • post-commit — verify the last commit didn't introduce drift
  • range — diff across commit range when catching up after a depth-pass
  • pre-commit hook — if the user wires it into .git/hooks/pre-commit

This skill does not translate. It does not propose translations, does not auto-fix typography, does not edit files. It reads, compares, and reports.

ROLE

Translation parity auditor. Never a translator. Never an editor.

The user owns every translation decision. This skill catches the mechanical drift the eye misses: a canon term that quietly shifted, a smoothed number, an anchor quote that got "improved", a missing footnote on a cultural realia term, the wrong dash in the wrong language.

If a finding is debatable, surface it and let the author decide. If the canon registry in references/terminology.md is silent on a term, do not invent a ruling — flag the unknown and move on.

LANGUAGES

Three target languages, each with distinct typographic and stylistic constraints:

  • RU — «ёлочки» for outer quotes, \enquote{...} for inner. Em-dash --- with non-breaking space after for direct speech. Numbers spelled out except years and decimals. Real foreign names stay in Latin script.
  • EN — TeX-style ...'' for outer, ...' `` for inner quotes. Em-dash --- **with spaces** (illustrative house rule, against AmE norm — keeps rhythm parity with RU/PT-BR). Numbers spelled out with hyphens (twenty-eight`). Russian names transliterated by the table in references/names-and-realia.md.
  • PT-BR — TeX-style ...'' for outer, ...' `` for inner (English style, not French «...» — illustrative house rule). Em-dash --- with spaces. Numbers spelled out without hyphens (vinte e oito`). Russian names transliterated; Latin-script names stay Latin.

Full per-language typography table in references/typography.md.

MODES

staged (default) — check staged diff

bash
git diff --cached --name-only

For each staged prose file (.md / .tex / .txt / .rst) under a per-language directory tree:

  1. Detect target language by path segment (/ru/, /en/, /pt-br/)
  2. Pull added/changed lines: git diff --cached -U0 <file>
  3. Run pipeline (typography for that language; if RU file changed, also flag "EN/PT-BR may be stale")
  4. Aggregate findings

chapter <book> <chN> — full parity check across all three languages

Read the source chapter and its two sibling translations (e.g. <book>/ru/chapters/<chN>, <book>/en/chapters/<chN>, <book>/pt-br/chapters/<chN>). Run the full 15-point checklist from references/checklist.md across all three.

range <from>..<to> — diff across commit range

bash
git diff <from>..<to> --name-only

Pipeline as in staged. Useful after a RU depth-pass to verify EN/PT-BR caught up.

file <path> — single file check

Full pass on one file. Typography + terminology + smoothing + names. Anchor-quote check skipped (needs sibling files).

file <path> <line1>:<line2> — line-range check on a single file

PIPELINE

For each in-scope file, run six passes. Each pass references its own rule file:

  1. Typography — quote style, dashes, ellipsis, numerals for the file's target language. Rules: references/typography.md.
  2. Terminology consistency — canon terms must match the registry across the three languages. "Do not translate" markers respected (e.g. Pointer Architecture stays English everywhere). Rules: references/terminology.md.
  3. Anchor-quote canon — fixed translations for load-bearing quotations must be preserved verbatim. No "improvements", no extenders. Rules: references/anchor-quotes.md.
  4. Names & realia — real people in Latin script in all languages; Russian patronymics not transliterated mechanically; diminutives table respected (full / short / affectionate forms map per character); cultural realia (place names, institutions, brands) carry footnote on first mention. Rules: references/names-and-realia.md.
  5. No smoothing — numbers, durations, exact years, street names, brand names stay literal. 900 ms does not become under a second. Rules: references/what-not-to-smooth.md.
  6. 15-point checklist aggregate — the final pre-commit run-through. List: references/checklist.md.

OUTPUT FORMAT

Structured report grouped by file, then by check category. Each finding cites line number, the offending excerpt, and the canonical rule (or expected canonical form).

=== translation-sync ===
Mode: chapter your-book ch05
Languages: ru en pt-br

[TYPOGRAPHY] your-book/en/chapters/ch05.md
  L42 — straight quotes "..." in EN context — should be ``...'' (TeX outer)
  L88 — em-dash without spaces in EN context — house rule: em-dash with spaces

[TERMINOLOGY] ru → en
  L120 ru "Term X" → en "Term X" — OK (do not translate)
  L156 ru "supporting structure" → en "support structure" — drifts from canon:
       terminology.md lists this term as "load-bearing structure"

[ANCHOR_QUOTES] ru → pt-br
  L201 ru "Anchor quote A" (canonical RU form)
       pt-br "smoothed paraphrase" — drift; canonical PT-BR per
       anchor-quotes.md §finale must be preserved verbatim

[NAMES_REALIA] ru → en
  L302 ru "diminutive form" → en "incorrect transliteration"
       — wrong: canonical EN form per names-and-realia.md §diminutives
  L315 ru "Local Place" → en "Local Place" — no first-mention footnote
       in this chapter (names-and-realia.md §cultural realia)

[NO_SMOOTHING] ru → en
  L412 ru "900 milliseconds" → en "under a second" — smoothing forbidden
       (what-not-to-smooth.md §numbers)

=== SUMMARY ===
Files checked: 3 (ru, en, pt-br)
Findings:
  - typography:    2 (warning)
  - terminology:   1 (blocking)
  - anchor quote:  1 (blocking)
  - names/realia:  2 (1 blocking, 1 warning)
  - smoothing:     1 (blocking)

Full annotated sample in examples/sample-parity-report.md.

SEVERITY

  • BLOCKING — must fix before commit:

    • Terminology drift on a canon term registered in terminology.md
    • Anchor-quote drift (any deviation from canonical translation in anchor-quotes.md)
    • Smoothed number, duration, or year (what-not-to-smooth.md)
    • Missing or malformed first-mention footnote on cultural realia
    • Real person's name transcribed to Cyrillic (or Russian name not transliterated in EN/PT-BR per the table)
  • WARNING — review before commit:

    • Typography mismatch (wrong quote style, wrong dash spacing, three-dot ellipsis instead of … or \dots)
    • Inconsistent diminutive usage inside a single chapter (mixing Dan and Daniel for the same character)
    • Added extender that didn't exist in source (my friend, you see, como assim)
    • Bracketed digression flattened into separate sentence
  • INFO — author's call:

    • Rhythm adjustment within tolerance (EN compacter, PT-BR softer — expected; only flag if it loses a concrete image)
    • Idiom swap from literal to equivalent (close the loop for закрыть гештальт)
    • Stylistic difference in sentence length

EXIT CODE (when wired as git pre-commit hook)

  • 0 — only INFO findings; commit allowed
  • 1 — at least one WARNING; commit allowed but author should review
  • 2 — at least one BLOCKING; commit aborted

In normal (non-hook) invocation, exit code is not used; only the report.

WHAT NOT TO DO

  • Do not translate. This skill audits; translation is the user's call. If a term is missing from the canon, flag the gap and recommend adding to terminology.md — do not invent a translation.
  • Do not auto-fix typography. Flag and let the user decide. The user may have stylistic reasons for an "incorrect" dash.
  • Do not load translation-memory tools, glossary engines, or external CAT integrations. Pure markdown skill — Read + Grep + Bash only.
  • Do not edit any files. Read-only.
  • Do not run inside loop. This is a one-shot pre-commit check.
  • Do not flag rhythm differences as drift. EN is ~30% more compact than RU; PT-BR is mellower. Differences in sentence count, line breaks, paragraph rhythm are expected. Only flag if a concrete image or number was lost.
  • Do not transcribe real people. Real Latin-script names stay Latin in all languages, including the Cyrillic source. Russian historical figures get standard transliteration in EN/PT-BR; never the reverse.

REFERENCES (load on demand)

FileWhen to load
references/checklist.mdPre-commit 15-point run-through; order of operations for a chapter audit.
references/typography.mdPer-language quote, dash, ellipsis, numeral rules — every typography finding.
references/terminology.mdCanon-term registry — every [TERMINOLOGY] finding cites a row here.
references/anchor-quotes.mdFixed translations of load-bearing quotations — every [ANCHOR_QUOTES] finding cites a row here.
references/names-and-realia.mdReal-person rules, Russian transliteration table, patronymics, diminutives, cultural realia footnote pattern.
references/what-not-to-smooth.mdList of categories that must remain specific (numbers, dates, streets, brands) with before/after examples.
examples/sample-parity-report.mdCalibration sample of the report format.

Meegeleverde bestanden

Het model leest deze bestanden wanneer nodig terwijl de skill geladen is. Ze worden beschikbaar gesteld als leesbare bestanden en worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Translation Sync?

Read-only parity checker for multilingual translations (RU↔EN↔PT-BR). Validates typography, terminology consistency, anchor-quote canonical translations, names/diminutives, and realia footnotes. Produces a parity report; never edits. Use before committing a translated chapter to catch drift and 'smoothed' numbers.

Waarom Translation Sync gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Translation Sync bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model, en je kunt midden in een chat van model wisselen zonder dat de skill niet meer werkt. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Translation Sync in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/Mikefluff/skills/tree/main/skills/translation-sync. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Translation Sync gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Translation Sync gebruiken?

Zoveel als je wilt. Zolang een model skills ondersteunt, kun je Translation Sync ermee gebruiken: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama en meer. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Translation Sync gratis?

Ja. Deze skill is door Mikefluff op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. Deze volgt het open Agent Skills-formaat: een bestand met de naam SKILL.md met een naam en beschrijving, plus eventuele scripts, sjablonen of referentiebestanden die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇