Translate your story by prompt
A story is written once, in its source language. A translation is written beside the text it translates, and the tool stores it so the game finds it by that text. The story’s logic never reads a translation, so a condition, a variable or a comparison works the same in every language. Nothing in the story is moved or renamed.
Claude can add a language for you. Where a translation is still missing, a player reads the source language.
An example
Section titled “An example”Translate the feast scene into Turkish.
I will read your database first. It lists your languages and which one the story is written in.
The story is written in English. I will add Turkish and write each translation next to its text. These are my translations, not a translator’s, so please have them read before you ship them.
This would make the translations file for your database for the first time. I need your yes for that. Do you agree?
Yes.
Done. I translated the scheme’s name and description, the dialogue’s title, text and two choices, and the culture’s name and description. Text that stays in English is what a player reads where I wrote no translation.
What Claude does
Section titled “What Claude does”- Reads the inventory. It lists your languages with coverage and the source language. With no source language yet,
Claude asks which language the story is written in, and writes
sourceLanguageand, when the story has no languages,"languages"with that language’s code, for example[ { "code": "en-GB" } ]for British English. - Adds the language when it is new, in
languages: acode, anameyou read in lists, andpluralwhen it knows how the language counts. UserightToLeftfor Arabic, Hebrew or Persian. A new language falls back to the source language. - Translates beside the text. On each item or node it writes
"translations": { "<code>": { "<Field>": "<text>" } }. For an item the fields areNameandDescription, and the other texts the Texts page lists. For a node they are the names written in itsset, such asTitle,Content,Objective,Reason,Tooltip,Choices[1].TextandButtons[0].Text. Texts that no item holds go inlines. - Keeps the structure. Every token such as
{target.Name}, every{if}block, plural block and pacing mark of the written text stays in the translation. Claude may reorder them for the language. It never drops them. - Checks, then asks. The first translation makes the translations file next to the database. The tool catalogue puts
it this way: “The first translation makes the translations file and needs
confirm: ["translations"].”
The confirm step
Section titled “The confirm step”The tool answers N-CONFIRM until you say yes. Claude names what would change and asks you. After your yes, it passes
"translations" in confirm and applies.
A translation that already exists with other words is kept, and you see N-TEXT-KEPT. To replace it, Claude writes
"textsMode": "update" and asks you first, because it replaces words someone may have written by hand.
What to say
Section titled “What to say”- A new language: “Translate the feast scene into Turkish.”
- One more language later: only the new code and its translations are added, and the languages you already have are not touched.
- A fix: “The Turkish for the cup is wrong. Use this word.” Claude replaces it, with your yes.
- Plurals: a number next to a noun uses a plural block, so the translation counts its own way. Claude always writes an
{other}branch. - A text only in one language: Claude leaves the others out, and players of the other languages read the fallback.
What Claude will not do
Section titled “What Claude will not do”- Copy a text into a key (
{text.key}) to translate it, or change the written text to make a translation fit. Claude changes the translation instead. - Translate what logic reads: a name compared with
target.Name = "Erik", or a value stored in a variable. - Use the prefix
intrigues.in its own keys. Those are the game’s own words. - Hand over machine-quality text as finished. Claude says which texts it translated and that you should read them. You can mark a translation “needs review” on the Texts page.
What the check tells you
Section titled “What the check tells you”| Code | What it says |
|---|---|
I-TRANSLATION-TOKENS |
A token was lost or invented in a translation |
N-TRANSLATION-FIELD |
A text of an item was named wrongly |
N-LINES-OFF |
The story has no source language yet |
N-TEXT-KEPT |
A translation exists with other words, so it was kept |
Change or fix existing content, or How Claude builds content.