Extract and apply translatable text
re_stringsExtracts user-facing text from Godot, Unity, RPG Maker, Ren'Py and web projects into translatable catalogs (.pot/CSV with file:line refs), then applies translations to write a translated copy without touching the source.
Instructions
Localisation: extracts user-facing text with stable ids from Godot scenes/resources and GDScript (text, tooltips, tr()), Unity YAML (m_Text, TextMeshPro) and C#, RPG Maker MV/MZ data (Show Text, choices, database names, terms), Ren'Py scripts (say, menu), web code and i18n JSON files. Writes a catalog plus .pot (gettext) and/or CSV with file:line references and placeholder hints. action:"apply" takes a translated .po/.csv/.json and writes a translated COPY of the project into out, checking placeholders and flagging strings that grew a lot. The source is never modified.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "re_strings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out | No | extract: folder for the catalog/.pot/.csv (default workspace/strings). apply: new or empty folder for the translated copy. | |
| lang | No | Language code for the output (e.g. nl). | |
| path | Yes | Project folder. | |
| limit | No | Entries to return inline (default 500; the files hold all). | |
| match | No | Only files whose path contains this. | |
| action | No | extract (default) or apply. | |
| format | No | extract: json (default), po, csv or all. | |
| translations | No | apply: translated .po, .csv (id|source + translation columns) or .json ({id|source: translation}). |