localization
3 public commands in this category.
extract_translatable_strings
Scan the current scene and return all user-authored translatable strings (entity names, dialogue text, UI labels) with stable IDs and context metadata. Run this before translate_scene to see what will be translated.
Scope:
scene:read. Token cost: 0.list_locales
List all stored locale translation bundles for the current project, including the string count per locale, the active preview locale, and the full list of supported locale codes.
Scope:
scene:read. Token cost: 0.set_preview_locale
Switch the editor preview to display strings in a translated locale so you can review the translation in context. Pass null to return to the source locale. Only locales with stored translations can be previewed.
Scope:
scene:write. Token cost: 0.- locale stringnull (required)
- BCP-47 locale code to preview (e.g. "ja"), or null to return to source text.