User Tools

Site Tools


set_language

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.txt · Last modified: 2021/04/21 18:52 by justin