User Tools

Site Tools


set_language

This is an old revision of the document!


Set Language


Switches the active language used for message translation. The two-letter ISO 639-1 code should be used (e.g. “en” for English, “fr” for French, etc.). See https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes for a list of codes. This function is primarily for debugging purposes as the language will typically be set by the language setting within the game's Options menu.

set_language(locale_code)
ArgumentDescriptionTypeRequired
locale_codeDescription.StringYes

Example:

set_language("en")

Results:

Use the Set Language function to …


Editor Node:

Visual Demo:

set_language.1494804619.txt.gz · Last modified: 2017/05/14 16:30 by justin