User Tools

Site Tools


set_language

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
set_language [2017/06/05 09:08] justinset_language [2020/04/27 11:50] justin
Line 2: Line 2:
 ---- ----
  
-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]] menuSee [[Localization]] for more information.+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:====
 <code python> <code python>
 set_language(locale_code) set_language(locale_code)
Line 12: Line 13:
  
 ====Example:==== ====Example:====
-<code python>+<code bauxite>
 set_language("en") set_language("en")
 </code> </code>
Line 18: Line 19:
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the **Set Language** function in your game's startup script to force a specific translation for testing purposes.+Use the **Set Language** function in your game'[[startup script]] to force a specific translation for testing purposes.
 </WRAP> </WRAP>
  
set_language.txt · Last modified: 2021/04/21 18:52 by justin