Difference between revisions of "Sims 3:Locales"

From SimsWiki
Jump to: navigation, search
m (Fixed a mistake.)
(Added three letter, underscore, two letter ISO codes.)
Line 4: Line 4:
 
! colspan="2" | Id
 
! colspan="2" | Id
 
! Name
 
! Name
 +
! ISO
 
! Language
 
! Language
 
! Country
 
! Country
Line 12: Line 13:
 
| 0
 
| 0
 
| en-US
 
| en-US
 +
| ENG_US
 
| English
 
| English
 
| United States
 
| United States
Line 20: Line 22:
 
| 1
 
| 1
 
| zh-CN
 
| zh-CN
| Chinese
+
| CHS_CN
 +
| Chinese (Simplified)
 
| China
 
| China
 
| 模拟人生3
 
| 模拟人生3
Line 28: Line 31:
 
| 2
 
| 2
 
| zh-TW
 
| zh-TW
| Chinese
+
| CHT_CN
 +
| Chinese (Traditional)
 
| China Taiwan
 
| China Taiwan
 
| 模擬市民3
 
| 模擬市民3
Line 36: Line 40:
 
| 3
 
| 3
 
| cs-CZ
 
| cs-CZ
 +
| CZE_CZ
 
| Czech
 
| Czech
 
| Czech Republic
 
| Czech Republic
Line 44: Line 49:
 
| 4
 
| 4
 
| da-DK
 
| da-DK
 +
| DAN_DK
 
| Danish
 
| Danish
 
| Denmark
 
| Denmark
Line 52: Line 58:
 
| 5
 
| 5
 
| nl-NL
 
| nl-NL
 +
| DUT_NL
 
| Dutch
 
| Dutch
 
| Netherlands
 
| Netherlands
Line 60: Line 67:
 
| 6
 
| 6
 
| fi-FI
 
| fi-FI
 +
| FIN_FI
 
| Finnish
 
| Finnish
 
| Finland
 
| Finland
Line 68: Line 76:
 
| 7
 
| 7
 
| fr-FR
 
| fr-FR
 +
| FRE_FR
 
| French
 
| French
 
| France
 
| France
Line 76: Line 85:
 
| 8
 
| 8
 
| de-DE
 
| de-DE
 +
| GER_DE
 
| German
 
| German
 
| Germany
 
| Germany
Line 84: Line 94:
 
| 9
 
| 9
 
| el-GR
 
| el-GR
 +
| GRE_GR
 
| Greek
 
| Greek
 
| Greece
 
| Greece
Line 92: Line 103:
 
| 10
 
| 10
 
| hu-HU
 
| hu-HU
 +
| HUN_HU
 
| Hungarian
 
| Hungarian
 
| Hungary
 
| Hungary
Line 100: Line 112:
 
| 11
 
| 11
 
| it-IT
 
| it-IT
 +
| ITA_IT
 
| Italian
 
| Italian
 
| Italy
 
| Italy
Line 108: Line 121:
 
| 12
 
| 12
 
| ja-JP
 
| ja-JP
 +
| JPN_JP
 
| Japanese
 
| Japanese
 
| Japan
 
| Japan
Line 116: Line 130:
 
| 13
 
| 13
 
| ko-KR
 
| ko-KR
 +
| KOR_KR
 
| Korean
 
| Korean
 
| South Korea
 
| South Korea
Line 124: Line 139:
 
| 14
 
| 14
 
| no-NO
 
| no-NO
 +
| NOR_NO
 
| Norwegian
 
| Norwegian
 
| Norway
 
| Norway
Line 132: Line 148:
 
| 15
 
| 15
 
| pl-PL
 
| pl-PL
 +
| POL_PL
 
| Polish
 
| Polish
 
| Poland
 
| Poland
Line 140: Line 157:
 
| 16
 
| 16
 
| pt-PT
 
| pt-PT
 +
| POR_PT
 
| Portuguese
 
| Portuguese
 
| Portugal
 
| Portugal
Line 148: Line 166:
 
| 17
 
| 17
 
| pt-BR
 
| pt-BR
 +
| POR_BR
 
| Portuguese
 
| Portuguese
 
| Brazil
 
| Brazil
Line 156: Line 175:
 
| 18
 
| 18
 
| ru-RU
 
| ru-RU
 +
| RUS_RU
 
| Russian
 
| Russian
 
| Russia
 
| Russia
Line 164: Line 184:
 
| 19
 
| 19
 
| es-ES
 
| es-ES
 +
| SPA_ES
 
| Spanish
 
| Spanish
 
| Spain
 
| Spain
Line 172: Line 193:
 
| 20
 
| 20
 
| es-MX
 
| es-MX
 +
| SPA_MX
 
| Spanish
 
| Spanish
 
| Mexico
 
| Mexico
Line 180: Line 202:
 
| 21
 
| 21
 
| sv-SE
 
| sv-SE
 +
| SWE_SE
 
| Swedish
 
| Swedish
 
| Sweden
 
| Sweden
Line 188: Line 211:
 
| 22
 
| 22
 
| th-TH
 
| th-TH
 +
| THA_TH
 
| Thai
 
| Thai
 
| Thailand
 
| Thailand

Revision as of 13:08, 2 February 2011

Id Name ISO Language Country Locale Name
00 0 en-US ENG_US English United States The Sims 3
01 1 zh-CN CHS_CN Chinese (Simplified) China 模拟人生3
02 2 zh-TW CHT_CN Chinese (Traditional) China Taiwan 模擬市民3
03 3 cs-CZ CZE_CZ Czech Czech Republic The Sims 3
04 4 da-DK DAN_DK Danish Denmark The Sims 3
05 5 nl-NL DUT_NL Dutch Netherlands De Sims 3
06 6 fi-FI FIN_FI Finnish Finland The Sims 3
07 7 fr-FR FRE_FR French France Les Sims 3
08 8 de-DE GER_DE German Germany Die Sims 3
09 9 el-GR GRE_GR Greek Greece The Sims 3
0A 10 hu-HU HUN_HU Hungarian Hungary The Sims 3
0B 11 it-IT ITA_IT Italian Italy The Sims 3
0C 12 ja-JP JPN_JP Japanese Japan ザ・シムズ3
0D 13 ko-KR KOR_KR Korean South Korea 심즈 3
0E 14 no-NO NOR_NO Norwegian Norway The Sims 3
0F 15 pl-PL POL_PL Polish Poland The Sims 3
10 16 pt-PT POR_PT Portuguese Portugal Os Sims 3
11 17 pt-BR POR_BR Portuguese Brazil The Sims 3
12 18 ru-RU RUS_RU Russian Russia The Sims 3
13 19 es-ES SPA_ES Spanish Spain Los Sims 3
14 20 es-MX SPA_MX Spanish Mexico The Sims 3
15 21 sv-SE SWE_SE Swedish Sweden The Sims 3
16 22 th-TH THA_TH Thai Thailand เดอะซิมส์ 3

C# Code

This code is to guarentee the name will match when trying to access The Sims 3 directory in Documents. Modify the byte arrays to other programming languages if needed. An example of how to use this code is simply Locales["en-US"]. The culture name (e.g. "en-US") can be found at 32-bit registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Sims\EXPANSION\Locale. Encoding is in the System.Text namespace.

       public static Dictionary<string, string> Locales = new Dictionary<string, string>()
       { 
           { "en-US", Encoding.Unicode.GetString(new byte[] { 0x54, 0x00, 0x68, 0x00, 0x65, 0x00, 0x20, 0x00, 0x53, 0x00, 0x69, 0x00, 0x6D, 0x00, 0x73, 0x00, 0x20, 0x00, 0x33, 0x00 }) },
           { "zh-CN", Encoding.Unicode.GetString(new byte[] { 0x21, 0x6A, 0xDF, 0x62, 0xBA, 0x4E, 0x1F, 0x75, 0x33, 0x00 }) },
           { "zh-TW", Encoding.Unicode.GetString(new byte[] { 0x21, 0x6A, 0xEC, 0x64, 0x02, 0x5E, 0x11, 0x6C, 0x33, 0x00 }) },
           { "cs-CZ", Encoding.Unicode.GetString(new byte[] { 0x54, 0x00, 0x68, 0x00, 0x65, 0x00, 0x20, 0x00, 0x53, 0x00, 0x69, 0x00, 0x6D, 0x00, 0x73, 0x00, 0x20, 0x00, 0x33, 0x00 }) },
           { "da-DK", Encoding.Unicode.GetString(new byte[] { 0x54, 0x00, 0x68, 0x00, 0x65, 0x00, 0x20, 0x00, 0x53, 0x00, 0x69, 0x00, 0x6D, 0x00, 0x73, 0x00, 0x20, 0x00, 0x33, 0x00 }) },
           { "nl-NL", Encoding.Unicode.GetString(new byte[] { 0x44, 0x00, 0x65, 0x00, 0x20, 0x00, 0x53, 0x00, 0x69, 0x00, 0x6D, 0x00, 0x73, 0x00, 0x20, 0x00, 0x33, 0x00 }) },
           { "fi-FI", Encoding.Unicode.GetString(new byte[] { 0x54, 0x00, 0x68, 0x00, 0x65, 0x00, 0x20, 0x00, 0x53, 0x00, 0x69, 0x00, 0x6D, 0x00, 0x73, 0x00, 0x20, 0x00, 0x33, 0x00 }) },
           { "fr-FR", Encoding.Unicode.GetString(new byte[] { 0x4C, 0x00, 0x65, 0x00, 0x73, 0x00, 0x20, 0x00, 0x53, 0x00, 0x69, 0x00, 0x6D, 0x00, 0x73, 0x00, 0x20, 0x00, 0x33, 0x00 }) },
           { "de-DE", Encoding.Unicode.GetString(new byte[] { 0x44, 0x00, 0x69, 0x00, 0x65, 0x00, 0x20, 0x00, 0x53, 0x00, 0x69, 0x00, 0x6D, 0x00, 0x73, 0x00, 0x20, 0x00, 0x33, 0x00 }) },
           { "el-GR", Encoding.Unicode.GetString(new byte[] { 0x54, 0x00, 0x68, 0x00, 0x65, 0x00, 0x20, 0x00, 0x53, 0x00, 0x69, 0x00, 0x6D, 0x00, 0x73, 0x00, 0x20, 0x00, 0x33, 0x00 }) },
           { "hu-HU", Encoding.Unicode.GetString(new byte[] { 0x54, 0x00, 0x68, 0x00, 0x65, 0x00, 0x20, 0x00, 0x53, 0x00, 0x69, 0x00, 0x6D, 0x00, 0x73, 0x00, 0x20, 0x00, 0x33, 0x00 }) },
           { "it-IT", Encoding.Unicode.GetString(new byte[] { 0x54, 0x00, 0x68, 0x00, 0x65, 0x00, 0x20, 0x00, 0x53, 0x00, 0x69, 0x00, 0x6D, 0x00, 0x73, 0x00, 0x20, 0x00, 0x33, 0x00 }) },
           { "ja-JP", Encoding.Unicode.GetString(new byte[] { 0xB6, 0x30, 0x65, 0xFF, 0xB7, 0x30, 0xE0, 0x30, 0xBA, 0x30, 0x13, 0xFF }) },
           { "ko-KR", Encoding.Unicode.GetString(new byte[] { 0xEC, 0xC2, 0x88, 0xC9, 0x20, 0x00, 0x33, 0x00 }) },
           { "no-NO", Encoding.Unicode.GetString(new byte[] { 0x54, 0x00, 0x68, 0x00, 0x65, 0x00, 0x20, 0x00, 0x53, 0x00, 0x69, 0x00, 0x6D, 0x00, 0x73, 0x00, 0x20, 0x00, 0x33, 0x00 }) },
           { "pl-PL", Encoding.Unicode.GetString(new byte[] { 0x54, 0x00, 0x68, 0x00, 0x65, 0x00, 0x20, 0x00, 0x53, 0x00, 0x69, 0x00, 0x6D, 0x00, 0x73, 0x00, 0x20, 0x00, 0x33, 0x00 }) },
           { "pt-PT", Encoding.Unicode.GetString(new byte[] { 0x4F, 0x00, 0x73, 0x00, 0x20, 0x00, 0x53, 0x00, 0x69, 0x00, 0x6D, 0x00, 0x73, 0x00, 0x20, 0x00, 0x33, 0x00 }) },
           { "pt-BR", Encoding.Unicode.GetString(new byte[] { 0x54, 0x00, 0x68, 0x00, 0x65, 0x00, 0x20, 0x00, 0x53, 0x00, 0x69, 0x00, 0x6D, 0x00, 0x73, 0x00, 0x20, 0x00, 0x33, 0x00 }) },
           { "ru-RU", Encoding.Unicode.GetString(new byte[] { 0x54, 0x00, 0x68, 0x00, 0x65, 0x00, 0x20, 0x00, 0x53, 0x00, 0x69, 0x00, 0x6D, 0x00, 0x73, 0x00, 0x20, 0x00, 0x33, 0x00 }) },
           { "es-ES", Encoding.Unicode.GetString(new byte[] { 0x4C, 0x00, 0x6F, 0x00, 0x73, 0x00, 0x20, 0x00, 0x53, 0x00, 0x69, 0x00, 0x6D, 0x00, 0x73, 0x00, 0x20, 0x00, 0x33, 0x00 }) },
           { "es-MX", Encoding.Unicode.GetString(new byte[] { 0x54, 0x00, 0x68, 0x00, 0x65, 0x00, 0x20, 0x00, 0x53, 0x00, 0x69, 0x00, 0x6D, 0x00, 0x73, 0x00, 0x20, 0x00, 0x33, 0x00 }) },
           { "sv-SE", Encoding.Unicode.GetString(new byte[] { 0x54, 0x00, 0x68, 0x00, 0x65, 0x00, 0x20, 0x00, 0x53, 0x00, 0x69, 0x00, 0x6D, 0x00, 0x73, 0x00, 0x20, 0x00, 0x33, 0x00 }) },
           { "th-TH", Encoding.Unicode.GetString(new byte[] { 0x40, 0x0E, 0x14, 0x0E, 0x2D, 0x0E, 0x30, 0x0E, 0x0B, 0x0E, 0x34, 0x0E, 0x21, 0x0E, 0x2A, 0x0E, 0x4C, 0x0E, 0x20, 0x00, 0x33, 0x00 }) }
       };


Related Articles

Sims 3:SKUs

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox