benilla-re systems structs docs

s_inputLanguageNames

global · ui

Address
0x879a5c · 16 bytes, up to 0x879a6b
Type
const char *[4]
Meaning
Holds the names ROMAN, KOREAN, CHINESE and JAPANESE
Confidence
verified, proof one
Finding
ui/inputlanguage#the-language-index

Finding: The language index in ui: the edit box input language

EditBox:GetInputLanguage() returns one of ROMAN, KOREAN, CHINESE, JAPANESE, read from the edit box's language index at +0x3d0; EditBox:ToggleInputLanguage() returns nothing and asks the operating system's input method to switch its conversion mode. The index is 0 (ROMAN) from construction and changes only when the input method reports an event: it comes from the active keyboard layout's primary language and the conversion mode, never from the client's locale.

The derivation is in the doc.