Ren'Py Translation

Ren'Py visual novel scripts with dialogue and menu support

免登入 $19 起 變數安全

問題所在

  • Variables {var} and [var] translate incorrectly
  • Python code blocks get translated
  • Menu choices break formatting
  • Comments and labels get modified

解決方案

  • Both {var} and [var] locked before AI
  • Python blocks (python:, $ var) skipped
  • Menu choices extracted and preserved
  • Comments and labels untouched

翻譯前後對比

查看 Ren'Py 檔案在 AI 翻譯前後的樣貌。變數將保持不變。

原始內容(英文)

字數:15
label start:\n    e "Hello {player_name}!"\n    menu:\n        "Red pill":\n            e "Choice made"\n    $ points = 100

翻譯內容(西班牙文)

28 種以上語言
label start:\n    e "¡Hola {player_name}!"\n    menu:\n        "Red pill":\n            e "Decisión tomada"\n    $ points = 100

注意:所有變數(例如 {pattern})在翻譯版本中將完全保持不變。

變數保護模式

Ren'Py 檔案包含特殊模式,絕對不可翻譯。我們的 AI 會自動鎖定這些模式。

Locked
{player_name}

Curly braces

Locked
[gold]

Square brackets

Locked
<color=red>

Rich text

Skipped
python:

Code block

準備好將您的 Ren'Py 遊戲本地化了嗎?

上傳您的 Ren'Py 檔案,24 小時內取得變數安全的 AI 翻譯。免登入。每份檔案 $19 起。

24 小時 · 變數安全 · 28 種以上語言

Translate Ren'Py scripts — dialogue, menus and variables intact

Ren'Py visual novels store every line of dialogue in .rpy files, and translating them means keeping {var}, [var] and the Python glue that powers choices intact. Generic tools mangle Ren'Py square-bracket variables or translate python: blocks as if they were prose. LocaFile AI is a Ren'Py translation tool that locks your variables and skips Python code before the AI sees a single word.

Upload your .rpy script, pick a pass, and get back a translation that keeps dialogue flowing, menu choices aligned, and code untouched. No login required, pay-per-pass from $19, engine-aware instead of a generic text shortcut.

Ren'Py translation — FAQ

How do I translate Ren'Py scripts?

Upload your .rpy file, choose your target languages, pay for a pass, and download the translated files. Dialogue, menus and labels are translated; Python blocks are skipped. No login required, from $19.

Will translating break {player_name} or [gold] variables?

No. Both {curly} and [square] Ren'Py variables are locked with regex token replacement before the AI sees your text, then restored byte-for-byte after translation.

Does it translate menu choices?

Yes. Ren'Py menu choices are extracted as their own entries so the option text is translated while the choice structure stays intact.

Is python: code translated?

No. Python code blocks (python:, $ var) are detected and skipped — only the dialogue and text Ren'Py displays is translated.

Can I translate Ren'Py translations for Steam releases?

Yes — the output drops straight back into your Ren'Py project's tl/ folder, matching the format Ren'Py uses for its own translations.