Self-updating translation system for OpenClaw maintains domain glossaries automatically

✍️ OpenClawRadar📅 Published: March 8, 2026🔗 Source
Self-updating translation system for OpenClaw maintains domain glossaries automatically
Ad

Core translation system

A Python script wraps the Kimi2.5 API to translate .srt subtitle files while preserving block indices, timestamps, and segmentation. The script loads project profiles from projects/<name>/ folders containing three key files:

  • glossary.json — locked term mappings for specific spellings of names, competition names, and technical jargon
  • style.md — voice guidelines, formatting rules, and cultural notes
  • memory.jsonl — accumulated context from previous translations

During translation, the script enforces locked terms before delivery. A QA gate validates SRT structure for no overlaps, increasing timecodes, and no stray indices.

Self-updating glossary system

A cron job runs every 6 hours, scanning official source sites in all languages. It extracts new terminology candidates, compares them against existing glossary entries, and appends deltas to glossary_deltas.jsonl. This allows the glossary to grow organically as the domain evolves, capturing official names, emerging terminology, or shifting institutional language without manual review cycles.

The system also maintains a separate knowledge base file with context snapshots—recent news, official communications, and product updates—which feeds back into translation quality by providing current context to the model.

Ad

Usage and results

Usage command:

python3 scripts/translate_srt.py \
--input source.srt \
--output output.en.srt \
--to English \
--project clientname

Locked terms get normalized in a post-process pass, then structural QA runs before file delivery. The system runs headless: file in, translated file out, with glossary silently updating in the background.

Results include consistent terminology across 100+ subtitle files, no drift in name spellings or technical vocabulary, and fresh context without manual source monitoring.

📖 Read the full source: r/openclaw

Ad

👀 See Also

Agent Smith: One Command To Scaffold MCP Servers, Skills, And A Ticket-To-PR Pipeline For Claude Code
Tools

Agent Smith: One Command To Scaffold MCP Servers, Skills, And A Ticket-To-PR Pipeline For Claude Code

Agent Smith scans your repo, detects exact stack (Go/Echo, React/Zustand, golang-jwt, pgx, etc.), sets up MCP servers, hooks, and skills tailored to your setup, and provides an autonomous ticket-to-PR pipeline.

OpenClawRadar
OpenMind adds visual mind map interface to OpenClaw installations
Tools

OpenMind adds visual mind map interface to OpenClaw installations

OpenMind is an open-source tool that transforms OpenClaw installations into interactive, live-editable mind maps with real-time memory visualization, hot-swappable logic, and full-text search across all nodes.

OpenClawRadar
Commitment Issues: A Tool That Analyzes and 'Buries' Unfinished GitHub Repos
Tools

Commitment Issues: A Tool That Analyzes and 'Buries' Unfinished GitHub Repos

A developer built a tool called Commitment Issues that analyzes GitHub repositories to determine if they're abandoned, generates a 'death certificate,' and extracts the final commit message as 'last words.' The tool uses heuristics like commit frequency, last activity, and stars vs momentum, and was prototyped using Claude.

OpenClawRadar
OpenClaw-superpowers adds reliability features for operational failure modes
Tools

OpenClaw-superpowers adds reliability features for operational failure modes

The openclaw-superpowers repository has expanded with eight new reliability-focused skills including deployment preflight checks, cron execution proofing, session reset recovery, and MCP auth lifecycle management. These additions bring the total to 60 skills, with 44 being OpenClaw-native and 23 designed for cron scheduling.

OpenClawRadar