Skip to content

Translation Guide

Cavanshirpro edited this page Sep 20, 2026 · 2 revisions

Translation Guide

LeoMiniGames documentation localization has two goals that must coexist: a reader should receive useful prose in their language, while API/ABI/security identifiers must remain exact.

Do translate

Explanations, headings, instructions, warnings, user-facing concepts, troubleshooting steps and QA rationale.

Do not rename

Context properties (GameSave, Lifecycle), manifest keys (required_capabilities), package IDs, resource paths, license identifiers, QML/Qt type names and commands. Explain them in the target language but keep the token literal.

Runtime language vs documentation language

v0.7.0 exposes 23 application languages. Additional Wiki languages can be complete documentation drafts while application support remains planned-not-v0.7.0. Never turn documentation availability into a runtime-support claim.

Quality checks

Preserve placeholders and code blocks; review punctuation around inline code; test RTL rendering for Arabic/Persian and planned Hebrew/Urdu; check CJK line breaks/fonts; avoid translating legal text as if the translation were the controlling license. Legal pages should summarize and link the canonical license/terms.

Review state

A structurally/content-complete machine/AI-assisted draft is not the same as native-speaker certification. config/languages.json records review status. Native reviewers may improve wording but must not silently alter the source-backed technical semantics.

Updating a translation

Compare against the English canonical page and pinned source snapshot, update the localized core page, keep code/keys exact, run validators, and record any ambiguity rather than inventing an API behavior.

Clone this wiki locally