Difference between revisions of "Sims 3:Locales"

From SimsWiki
Jump to: navigation, search
m (Related Articles)
 
(9 intermediate revisions by one user not shown)
Line 4: Line 4:
 
! colspan="2" | Id
 
! colspan="2" | Id
 
! Name
 
! Name
 +
! ISO
 
! Language
 
! Language
 
! Country
 
! Country
Line 11: Line 12:
 
| <tt>00</tt>
 
| <tt>00</tt>
 
| 0
 
| 0
| en-us
+
| en-US
 +
| ENG_US
 
| English
 
| English
 
| United States
 
| United States
Line 19: Line 21:
 
| <tt>01</tt>
 
| <tt>01</tt>
 
| 1
 
| 1
| zh-cn
+
| zh-CN
| Chinese
+
| CHS_CN
 +
| Chinese (Simplified)
 
| China
 
| China
|  
+
| 模拟人生3
  
 
|-
 
|-
 
| <tt>02</tt>
 
| <tt>02</tt>
 
| 2
 
| 2
| zh-tw
+
| zh-TW
| Chinese
+
| CHT_CN
| China Taiwan
+
| Chinese (Traditional)
|  
+
| Taiwan
 +
| 模擬市民3
  
 
|-
 
|-
 
| <tt>03</tt>
 
| <tt>03</tt>
 
| 3
 
| 3
| cs-cz
+
| cs-CZ
 +
| CZE_CZ
 
| Czech
 
| Czech
 
| Czech Republic
 
| Czech Republic
Line 43: Line 48:
 
| <tt>04</tt>
 
| <tt>04</tt>
 
| 4
 
| 4
| da-dk
+
| da-DK
 +
| DAN_DK
 
| Danish
 
| Danish
 
| Denmark
 
| Denmark
Line 51: Line 57:
 
| <tt>05</tt>
 
| <tt>05</tt>
 
| 5
 
| 5
| nl-nl
+
| nl-NL
 +
| DUT_NL
 
| Dutch
 
| Dutch
 
| Netherlands
 
| Netherlands
Line 59: Line 66:
 
| <tt>06</tt>
 
| <tt>06</tt>
 
| 6
 
| 6
| fi-fi
+
| fi-FI
 +
| FIN_FI
 
| Finnish
 
| Finnish
 
| Finland
 
| Finland
Line 67: Line 75:
 
| <tt>07</tt>
 
| <tt>07</tt>
 
| 7
 
| 7
| fr-fr
+
| fr-FR
 +
| FRE_FR
 
| French
 
| French
 
| France
 
| France
Line 75: Line 84:
 
| <tt>08</tt>
 
| <tt>08</tt>
 
| 8
 
| 8
| de-de
+
| de-DE
 +
| GER_DE
 
| German
 
| German
 
| Germany
 
| Germany
Line 83: Line 93:
 
| <tt>09</tt>
 
| <tt>09</tt>
 
| 9
 
| 9
| el-gr
+
| el-GR
 +
| GRE_GR
 
| Greek
 
| Greek
 
| Greece
 
| Greece
Line 91: Line 102:
 
| <tt>0A</tt>
 
| <tt>0A</tt>
 
| 10
 
| 10
| hu-hu
+
| hu-HU
 +
| HUN_HU
 
| Hungarian
 
| Hungarian
 
| Hungary
 
| Hungary
Line 99: Line 111:
 
| <tt>0B</tt>
 
| <tt>0B</tt>
 
| 11
 
| 11
| it-it
+
| it-IT
 +
| ITA_IT
 
| Italian
 
| Italian
 
| Italy
 
| Italy
Line 107: Line 120:
 
| <tt>0C</tt>
 
| <tt>0C</tt>
 
| 12
 
| 12
| ja-jp
+
| ja-JP
 +
| JPN_JP
 
| Japanese
 
| Japanese
 
| Japan
 
| Japan
|  
+
| ザ・シムズ3
  
 
|-
 
|-
 
| <tt>0D</tt>
 
| <tt>0D</tt>
 
| 13
 
| 13
| ko-kr
+
| ko-KR
 +
| KOR_KR
 
| Korean
 
| Korean
 
| South Korea
 
| South Korea
|  
+
| 심즈 3
  
 
|-
 
|-
 
| <tt>0E</tt>
 
| <tt>0E</tt>
 
| 14
 
| 14
| no-no
+
| no-NO
 +
| NOR_NO
 
| Norwegian
 
| Norwegian
 
| Norway
 
| Norway
Line 131: Line 147:
 
| <tt>0F</tt>
 
| <tt>0F</tt>
 
| 15
 
| 15
| pl-pl
+
| pl-PL
 +
| POL_PL
 
| Polish
 
| Polish
 
| Poland
 
| Poland
Line 139: Line 156:
 
| <tt>10</tt>
 
| <tt>10</tt>
 
| 16
 
| 16
| pt-pt
+
| pt-PT
 +
| POR_PT
 
| Portuguese
 
| Portuguese
 
| Portugal
 
| Portugal
Line 147: Line 165:
 
| <tt>11</tt>
 
| <tt>11</tt>
 
| 17
 
| 17
| pt-br
+
| pt-BR
 +
| POR_BR
 
| Portuguese
 
| Portuguese
 
| Brazil
 
| Brazil
Line 155: Line 174:
 
| <tt>12</tt>
 
| <tt>12</tt>
 
| 18
 
| 18
| ru-ru
+
| ru-RU
 +
| RUS_RU
 
| Russian
 
| Russian
 
| Russia
 
| Russia
Line 163: Line 183:
 
| <tt>13</tt>
 
| <tt>13</tt>
 
| 19
 
| 19
| es-es
+
| es-ES
 +
| SPA_ES
 
| Spanish
 
| Spanish
 
| Spain
 
| Spain
Line 171: Line 192:
 
| <tt>14</tt>
 
| <tt>14</tt>
 
| 20
 
| 20
| es-mx
+
| es-MX
 +
| SPA_MX
 
| Spanish
 
| Spanish
 
| Mexico
 
| Mexico
Line 179: Line 201:
 
| <tt>15</tt>
 
| <tt>15</tt>
 
| 21
 
| 21
| sv-se
+
| sv-SE
 +
| SWE_SE
 
| Swedish
 
| Swedish
 
| Sweden
 
| Sweden
Line 187: Line 210:
 
| <tt>16</tt>
 
| <tt>16</tt>
 
| 22
 
| 22
| th-th
+
| th-TH
 +
| THA_TH
 
| Thai
 
| Thai
 
| Thailand
 
| 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:Regions]]
 +
 +
[[Category:Sims 3]]

Latest revision as of 00:17, 20 September 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) 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

[edit] 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 }) }
       };


[edit] Related Articles

Sims 3:Regions

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox