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 →
Design an LLM-powered localisation pipeline that translates product content into 20 languages.
30-second answerSay your answer out loud first, then reveal.
Pipeline
- Extraction: strings from code and CMS with keys, context notes, character limits, placeholders (
{name}, HTML tags, plurals). - Translation memory (TM) lookup: exact or fuzzy matches reuse approved human translations (consistency + cost).
- 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.
- 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. - Human-in-the-loop: linguists review content flagged by QA plus high-visibility content (legal, marketing, onboarding); sampled audits for the rest.
- Feedback: edits update TM and glossaries; recurring corrections become few-shot examples per language.
- 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.
Related
Slow is fine. Stopping is the only problem.