s_localeIndex
global · client
- Address
0xc0e080· 4 bytes, up to0xc0e083- Type
uint32_t- Meaning
- Holds the locale index, the position of the Wow.ini Language and Country tag among the locale names
- Confidence
- verified, proof two
- Finding
- dbc#localized-strings
Finding: Localized strings in dbc
A localized string is eight offset columns followed by a flags column, nine dwords. Read stores the eight offsets as pointers at the
column's first eight cells and the flags at the ninth. A consumer picks one with the locale index: record + base·4 + locale·4.
Start-up loads Wow.ini, reads Language and then Country from [WoW Config], and joins them Language first into a tag of at most
four characters: en and GB give enGB. The tag's bytes are packed into 0xc2a2a4, and the locale index is the tag's position
among enUS, koKR, frFR, deDE, zhCN, zhTW, esES, xxYY, compared ignoring case; no match, as for enGB, leaves it 0.
Without the file or either key neither word is written.
The derivation is in the doc.