benilla-re systems structs docs

s_localeTag

global · dbc

Address
0xc2a2a4 · 4 bytes, up to 0xc2a2a7
Type
uint32_t
Meaning
Holds the Wow.ini Language and Country tag packed into a dword, first byte highest
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.