Difference between revisions of "Localization"

From wowdev
Jump to navigation Jump to search
m (It is 17, not 16 columns.)
Line 1: Line 1:
A column marked as Loc is actually 16 columns with one column per language and a bitmask in the end.
+
A column marked as Loc is actually 17 columns with one column per language and a bitmask in the end.
  
 
There can be multiple languages filled in -- i.e. multi-language DBCs are possible.
 
There can be multiple languages filled in -- i.e. multi-language DBCs are possible.

Revision as of 21:39, 7 October 2012

A column marked as Loc is actually 17 columns with one column per language and a bitmask in the end.

There can be multiple languages filled in -- i.e. multi-language DBCs are possible.

Blizzard no longer uses multiple columns for Localization since Cataclysm. From there on, there just is one column with a string in the language given by the locale directory. This conserves space and prevents errors with missing locale data as present on a lot of modded servers, where a locale_i DBC is taken and edited, packed and distributed, therefore resulting in empty strings for all clients not using locale_i. In Cataclysm and up, there just will be wrong language strings.

Column Field
0 enUS / enGB English / Great British
1 koKR Korean
2 frFR French
3 deDE German
4 zhCN Chinese
5 zhTW Taiwan
6 esES / esMX Spanish / Mexican
7 ? ?
8 ruRU Russian
+16 BitMask that always follows output string data.