Language

From Burnout Wiki

Language resources contain the majority of strings displayed in the game, as well as all non-English strings. Each Language resource contains the same IDs (for the most part) so a single string ID may be translated into multiple languages. Strings are stored as UTF-8 character arrays.

Structures[edit | edit source]

CgsResource::LanguageResource[edit | edit source]

32-bit[edit | edit source]

Offset Length Type Name Description Comments
0x0 0x4 uint32_t meLanguageID Language file ID See ELanguage
0x4 0x4 uint32_t muSize Number of entries
0x8 0x4 LanguageResourceHashEntry* mpEntries Entries

64-bit[edit | edit source]

Offset Length Type Name Description Comments
0x0 0x4 uint32_t meLanguageID Language file ID See ELanguage
0x4 0x4 uint32_t muSize Number of entries
0x8 0x8 LanguageResourceHashEntry* mpEntries Entries

CgsResource::LanguageResourceHashEntry[edit | edit source]

32-bit[edit | edit source]

Offset Length Type Name Description Comments
0x0 0x4 uint32_t muHash Hash of untranslated string (string ID)
0x4 0x4 CgsUtf8* mpString Translated UTF-8 string

64-bit[edit | edit source]

CgsResource::LanguageResourceHashEntry[edit | edit source]

Offset Length Type Name Description Comments
0x0 0x4 uint32_t muHash Hash of untranslated string (string ID)
0x4 0x4 padding
0x8 0x8 CgsUtf8* mpString Translated UTF-8 string

Enumerations[edit | edit source]

CgsLanguage::Sku::ELanguage[edit | edit source]

Name Value Comments
E_LANGUAGE_INVALID -1
E_LANGUAGE_ARABIC 0
E_LANGUAGE_CHINESE 1
E_LANGUAGE_CHINESE_SIMPLIFIED 2 Bundle 0012
E_LANGUAGE_CHINESE_TRADITIONAL 3 Bundle 0013
E_LANGUAGE_CZECH 4 Bundle 0010
E_LANGUAGE_DANISH 5
E_LANGUAGE_DUTCH 6
E_LANGUAGE_ENGLISH_US 7 Bundle 0001
E_LANGUAGE_ENGLISH_UK 8 Bundle 0002
E_LANGUAGE_FINNISH 9
E_LANGUAGE_FRENCH 10 Bundle 0003
E_LANGUAGE_GERMAN 11 Bundle 0006
E_LANGUAGE_GREEK 12 Bundle 0008
E_LANGUAGE_HEBREW 13
E_LANGUAGE_HUNGARIAN 14 Bundle 0011
E_LANGUAGE_ITALIAN 15 Bundle 0005
E_LANGUAGE_JAPANESE 16 Bundle 0007
E_LANGUAGE_KOREAN 17
E_LANGUAGE_NORWEGIAN 18
E_LANGUAGE_POLISH 19 Bundle 0009
E_LANGUAGE_PORTUGUESE_BRAZIL 20
E_LANGUAGE_PORTUGUESE_PORTUGAL 21
E_LANGUAGE_SPANISH 22 Bundle 0004
E_LANGUAGE_SWEDISH 23
E_LANGUAGE_THAI 24 Bundle 0014
E_LANGUAGE_TOTAL 25