Dashboard
0%
1
Curious builder0 XP earned · 300 to level 2
0 daysFinish a lesson to begin
Badge collection0 of 6 unlocked
51 small wins to finish your pathNext question →

Q43HardSystem design

Design an LLM-powered localisation pipeline that translates product content into 20 languages.

30-second answerSay your answer out loud first, then reveal.

Pipeline

  1. Extraction: strings from code and CMS with keys, context notes, character limits, placeholders ({name}, HTML tags, plurals).
  2. Translation memory (TM) lookup: exact or fuzzy matches reuse approved human translations (consistency + cost).
  3. LLM translation: prompt includes glossary terms (brand names not translated), style guide per locale (formal vs informal "you", e.g. "aap" vs "tum" in Hindi), surrounding strings for context. Batch similar strings together.
  4. Automated QA:
    • Deterministic: placeholders preserved, tags balanced, length within UI limits, numbers, dates and currency formats.
    • Terminology check against the glossary.
    • Quality estimation: LLM judge or COMET-style metrics; back-translation comparison for meaning drift.
  5. Human-in-the-loop: linguists review content flagged by QA plus high-visibility content (legal, marketing, onboarding); sampled audits for the rest.
  6. Feedback: edits update TM and glossaries; recurring corrections become few-shot examples per language.
  7. Delivery: CI integration (a new string triggers translation and QA; a pull request with translations); visual in-context review with screenshots.

Language-specific concerns: right-to-left scripts, Indic scripts' rendering and length, pluralisation rules, culturally appropriate examples, and quality differences across languages (evaluate per locale).

Metrics: cost and turnaround per word, human edit rate per language, QA failure rates, user-reported translation issues.

Slow is fine. Stopping is the only problem.