Skip to reading
The Sock Exchange, Part 6: Closing Time

Give the player a language choice

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView illustrations

GAME LANGUAGES & TRANSLATIONS

We’ll add Italian and keep English as the starting language. Begin with the title and one notebook entry. Seeing both change in the running game makes the rest of the translation work easy to check.

Game translation window. (1) Language to export. (2) Enter an exact phrase missing from the list. (3) Italian translation. (4) Save Translations.

1. In Adventure Database, select Project and click Game Languages & Translations… at the top of the Project tab. Add code it and name Italiano. Keep English (en) as the default game language. Search for New Game, select it, and enter Nuova partita in the Italiano text box.

2. For a missing phrase, type the exact English text into Text or Voice Key and click Add Voice Key. Select the new entry and enter its Italian text. You can leave Voice Audio empty. Do this for every topic title and answer on page 9. They are stored inside the Hint List’s JSON and may be absent from the automatic list.

3. For a longer pass, set CSV Language to Italiano (it), then Export CSV. Open it as UTF-8 in a spreadsheet. Edit only the translation column. Keep the header, keys, source text, and original column. Save as UTF-8 CSV. In PCA choose Import CSV, review the preview, and click Apply Changes.

4. Click Save Translations and save the project. In play choose Options › Game Language › Italiano, then Apply Options. Return to the title and open the notebook. You should see your new text. An English phrase usually means its exact source is missing or its Italian field is empty.

Page 13 of 19Permalink
Go to page

Continue your 2D adventure

  1. Part 1The Sock Exchange, Part 1: Your First 2D Adventure
  2. Part 2The Sock Exchange, Part 2: The Missing Laundry
  3. Part 3The Sock Exchange, Part 3: The Dryer Conspiracy
  4. Part 4The Sock Exchange, Part 4: Trouble After Closing
  5. Part 5The Sock Exchange, Part 5: The Midnight Pickup
  6. Part 6The Sock Exchange, Part 6: Closing Time