Skip to reading
Game Translations

Let the player choose a language

Edition 0.86.4.3

0.86.4.3 edition with revised lessons, updated cross-references and new cinematic/camera-safety supplements. Earlier examples, screenshots and registry figures retain their stated edition context.

Download PDFView illustrations
GAME TRANSLATIONS                                                                               0.86.4.1  /  HOTFIX 1

EDITION UPDATE

A player sees “Italiano” in the list. The option stores a stable locale code such as it. Display names can change without breaking the saved choice.

A single-selection List Box edits selectedId. The option.draft source supplies the player’s language preference.

01. Set up the project languages

In Game Translations, define your available languages with their codes and display names. Add at least one translated line so you can verify the switch during play.

02. Bind the selected row

Select the Options GUI’s List Box. Leave Allow Multiple Selection off. Click the link beside Selected Item Variable. Choose option.draft language two_way and Convert none. Apply. The language-bound list uses the project’s language names and codes.

03. Test Cancel and Apply

Give the screen an Apply and a Cancel button through General Edit layout and navigation… Preferences button. Select the other language and cancel first. Repeat and apply. Reopen the menu and check the selected row and your translated line.

IF A CHOICE WILL NOT STICK

Check that the option is language, the list is single-select, and the stored value is a configured locale code. A translated caption or numeric row index cannot stand in for that code.

PCA 3D ADVENTURE STUDIO                                                                       Game translations   /   48
Page 48 of 50Permalink
Go to page