Localization
This is the list of locale codes/indizes used when reading string in dbc or in *_locale Trinity table.
DBC/DB2
When reading a dbc, all string fields diplayed at client screen are localized if you use a non US/GB version of the client. To get the localized strings, you need to read one of the fields next to the english one.
Use this table to know which column to the right of the English one you have to read to see localized data. The strings block is always followed by a bitmask/flags field of unknown purpose.
Note: From client version 4.x onwards only a single column is used that contains the string in the clients locale.
TrinityCore Database
When reading a *_locale table from database, the localized string can be fetched by matching the locale string to the locale column.
Note: The core/database support only 9 (3.3.5.) and 11 (master) languages, while the client can support 16 languages.
Localization offsets
| DBC col. offset | TC locale | alt. locale | comment |
|---|---|---|---|
| 0 | enUS | enGB | English (US / EU) |
| 1 | koKR | Korean | |
| 2 | frFR | French | |
| 3 | deDE | German | |
| 4 | zhCN | enCN | Simplified Chinese (English speech) |
| 5 | zhTW | enTW | Traditional Chinese (English speech) |
| 6 | esES | Spanish (EU) | |
| 7 | esMX | Spanish (Latin America) | |
| 8 | ruRU | Russian | |
| 9 | jaJP | ❌ Japanese(unsure) | |
| 10 | ptBR | ptPT | Portuguese (Latin America / EU) (master branch) |
| 11 | itIT | Italian (master branch) | |
| 12 | Unknown | ||
| 13 | Unknown | ||
| 14 | Unknown | ||
| 15 | Unknown | ||
| 16 | - | - | lang ref flags |
