benilla-re systems structs docs

s_localeNames

global · unassigned

Address
0x8558a4 · 32 bytes, up to 0x8558c3
Type
char *[8]
Meaning
Holds the eight locale tags enUS to xxYY the locale index counts through
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.