Ren'Py Translation

Ren'Py visual novel scripts with dialogue and menu support

Không cần đăng nhập Từ $19 An toàn biến

Vấn đề

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

Giải pháp

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

Trước và sau khi dịch

Xem các tệp Ren'Py trước và sau khi dịch bằng AI. Các biến được giữ nguyên.

Bản gốc (Tiếng Anh)

Số từ: 15
label start:\n    e "Hello {player_name}!"\n    menu:\n        "Red pill":\n            e "Choice made"\n    $ points = 100

Bản dịch (Tiếng Tây Ban Nha)

Hơn 28 ngôn ngữ
label start:\n    e "¡Hola {player_name}!"\n    menu:\n        "Red pill":\n            e "Decisión tomada"\n    $ points = 100

Lưu ý: Tất cả các biến (như {pattern}) được giữ nguyên hoàn toàn trong bản dịch.

Các mẫu bảo vệ biến

Các tệp Ren'Py chứa các mẫu đặc biệt không bao giờ được dịch. AI của chúng tôi sẽ tự động khóa chúng.

Locked
{player_name}

Curly braces

Locked
[gold]

Square brackets

Locked
<color=red>

Rich text

Skipped
python:

Code block

Sẵn sàng bản địa hóa game Ren'Py của bạn?

Tải tệp Ren'Py của bạn lên và nhận bản dịch AI bảo toàn biến trong vòng 24 giờ. Không cần đăng nhập. Chỉ từ $19 mỗi tệp.

24 giờ · Bảo toàn biến · Hơn 28 ngôn ngữ

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.