Skip to main content

Changing Languages During Gameplay

To change languages, just set the language EasyTalk is using by setting the EasyTalkGameState.Instance.Language value to the new ISO-639 language code.

This will automatically tell each Dialogue Display to update the fonts used on text components to work with the chosen language, assuming that there is a Language Font Override set up for the chosen language. If a font override isn't set up for the chosen language, the original font for the Dialogue Display will be used.

...
//Set the current language used by the dialogue system to Spanish (ISO-639 code 'es')
EasyTalkGameState.Instance.Language = "es";
...