Skip to main content

Module language

Module language 

Source

Enumsยง

Language

Constantsยง

LANG_ENGLISH ๐Ÿ”’
LANG_POLISH ๐Ÿ”’
PRIMARY_LANGUAGE_MASK ๐Ÿ”’
SUBLANG_DEFAULT ๐Ÿ”’
SUBLANG_ENGLISH_US ๐Ÿ”’

Staticsยง

CHOSEN ๐Ÿ”’
The language scene 1 chose, or 0 before it has.

Functionsยง

make_langid ๐Ÿ”’
MAKELANGID.
os_language
The OS UI language when the installer ships it, matched on the primary language so every Polish locale lands on Polish.
set_language
Per thread, so workers get already-loaded strings from the UI thread; it is also remembered for the panic hook, which can run on any thread.
use_chosen_language
Applies the chosen language to this thread; before scene 1 answers the OS default stands.