— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
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.
set_language(locale_code)
Argument | Description | Type | Required |
---|---|---|---|
locale_code | Code representing the desired language. | String | Yes |
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.