Directories with one or more of these numbers probably litter your hard drive. Microsoft Office has them all over the place (C:\Program Files\Microsoft Office\Office10\1033). If you have installed the Plus pack, you will have a your theme files in C:\WINDOWS\Resources\1033. The .Net framework probaly installed a 1033 folder and the seach assistant has by default on my PC a C:\WINDOWS\srchasst\mui\0409. Your PC may have different numbers such as 1031 or 2057 on these directories.
For years I’ve wondered what the 1033 direcotry was. A search for that number reveals it is associated with localization settings. 1033 is a Locale ID or known more succicntly as a LCID.
So, if you look at Microsoft’s locale identification here:
You can see that 1033 (0409 in hex) is United states English, my locale.
English has the following sub languages
[and many more]
There’s obviously a patter there. 1033 is fairly close to 1024. So, if we subtract out 1024, we get 9. Is 9 associated with English some how?
A Google for Language English 0x09 says it is… http://www.liquidninja.com/metapad/translations/language_ids.html
which reveals sublanguages
0x01 SUBLANG_ENGLISH_US English (US)
0x02 SUBLANG_ENGLISH_UK English (UK)
0x03 SUBLANG_ENGLISH_AUS English (Australian)
0x04 SUBLANG_ENGLISH_CAN English (Canadian)
So how do we get 2057 for GB? Well, it’s pretty close to 2048 and the sublang is 2 so let’s try:
LCID := (1024 * SubLang) + MajorLanguage;
Yep! That did it!
So, my friend over at 404.de probably has something like:
(1024 * 1 (de-DE)) + 7 (German)
Interesting. I’d figured it had something to do with localization but I wasn’t sure.
I also found a MSDN blog that confirms all of this…
Well, question answered.