User Tools

Site Tools


set_language

This is an old revision of the document!


Set Language


Switches the active language used for message translation. This function was primarily implemented for localization debugging. The language setting can be adjusted at any time from the Options Menu. Refer to the Localization page for more information.

Signature:

set_language(locale_code)
ArgumentDescriptionTypeRequired
locale_codeCode representing the desired language.StringYes

Example:

set_language("en")

Results: The language used for translation is switched to English.

Use the Set Language function in your game's startup script to force a specific translation for testing purposes.


Editor Node:

set_language.1521218973.txt.gz · Last modified: 2018/03/16 09:49 by justin