tool_check_translation
Detect untranslated dialogue by checking for string-only translation files that lack block translations, plus duplicate strings and missing files.
Instructions
Deep-check translation coverage. Catches silent dialogue-not-translated bugs.
The most important check: a translation file that ONLY contains
translate <lang> strings: (old/new pairs) but NO translate <lang> <hash>: block translations. Ren'Py does NOT translate say-statement
dialogue via string translation -- only block translation does that. A
string-only file leaves dialogue in the source language with no error.
Also detects: duplicate old strings (runtime error risk), untranslated
block translations (active line still equals the source comment), and
source files with dialogue that have no translation file at all.
Args: project_path: Absolute path to the Ren'Py project root directory. language: Language code to check (e.g. "english"). If None, checks all languages found under game/tl/.
Returns: dict with {ok, source_language, languages: [{code, issues, summary}]}. Issues have severity "error" | "warning" | "info".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | ||
| project_path | Yes |