-
-
Notifications
You must be signed in to change notification settings - Fork 8
Technical Filtering
Lord0fTurk edited this page Jan 13, 2026
·
3 revisions
Ren'Py files are a mix of dialogue and technical code. To prevent breaking the game, RenLocalizer uses a multi-layered filtering system.
Ren'Py uses [variables] and {tags} for logic and styling.
-
Target:
[player_name],[persistent.day],{b}Text{/b}. -
Mechanism: Before translation, RenLocalizer replaces these with unique tokens (e.g.,
?V001?). After translation, it restores the exact original code.
The system automatically skips internal Ren'Py keywords that might look like strings:
renpy.dissolvegui.text_fontconfig.versionpersistent.save_slot
RenLocalizer analyzes the ratio of special symbols (dots, underscores, brackets) in a string.
-
Technical High Density:
path.to.my_file[0](Skipped). -
Human Low Density:
Hello, how are you?(Translated).
If a piece of code is being translated when it shouldn't:
- Open the Glossary Editor.
- Add the code as both Source and Target (e.g.,
sys_path->sys_path). - This protects it from the translation engine.
If a button or menu item is being ignored:
- Check Settings > Text Types.
- Ensure "Translate Buttons" or "Translate UI" is enabled.
💡 Tip: Use the Deep Scan feature for a much more thorough (but slower) AST-based scan of technical strings.
- Advanced-Parsing
- RPA-Extraction
- Glossary-Management
- External-Translation-Memory — (NEW) Reuse translations across games
- Technical-Filtering
- Proxy-and-Rate-Limits
- Web-Google-Translate-Guide