tool_check_language_picker
Validates Ren'Py language picker buttons in screens.rpy against tl/ folders and config.language, detecting dead buttons, missing entries, and miswired Language(None) calls.
Instructions
Verify the language picker in screens.rpy against tl/ folders and config.language.
Catches the common misconfiguration where the "English" button is wired to
Language(None) (show source text) instead of Language("english")
(apply the english translation) -- when the source language is not
English, Language(None) shows the source (e.g. Chinese) text, so clicking
"English" appears to do nothing.
Also detects: dead buttons pointing at tl/ folders that don't exist, and missing buttons for translations that do exist.
Args: project_path: Absolute path to the Ren'Py project root directory.
Returns: dict with {ok, source_language, available_languages, buttons, issues}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes |