{"id":38963,"date":"2004-06-09T07:00:00","date_gmt":"2004-06-09T07:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/2004\/06\/09\/what-are-these-directories-called-0409-and-1033\/"},"modified":"2004-06-09T07:00:00","modified_gmt":"2004-06-09T07:00:00","slug":"what-are-these-directories-called-0409-and-1033","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20040609-00\/?p=38963","title":{"rendered":"What are these directories called 0409 and 1033?"},"content":{"rendered":"<p>A reader asked,<\/p>\n<blockquote class=\"q\"><p>  I was wondering why it&#8217;s common for some Microsoft products  to have a directory called &#8220;1033&#8221;  within it&#8217;s program directory installation location?  What does it mean?  <\/p><\/blockquote>\n<p>  This reader was probably from the United States,  because 1033 is the locale identifier for &#8220;English (United States)&#8221;,  whose hexadecimal value is 0x0409.  You may also find directories  called &#8220;0409&#8221;.  Some programs use hex codes and some use decimal.  Go figure.\n  Here is  <a href=\"http:\/\/msdn.microsoft.com\/library\/en-us\/script56\/html\/vsmscLCID.asp\">  a list of a whole bunch of locales and their identification  numbers<\/a>, both in decimal and hexadecimal.  Now you too can become an expert in locale identifiers.\n  The value of a locale identifier is given by the formula\n<a href=\"http:\/\/msdn.microsoft.com\/library\/en-us\/intl\/nls_61df.asp\">  primary language<\/a>\n + 1024 *  <a href=\"http:\/\/msdn.microsoft.com\/library\/en-us\/intl\/nls_19ir.asp\">  sub-language<\/a>\n  For example, Swiss German is LANG_GERMAN + 1024 * SUBLANG_GERMAN_SWISS  = 7 + 1024 * 2 = 2055.\n  So why would a program create a directory named after a language code?\n  Many Microsoft products support a multilingual user interface.  This means that the same program can be used to display  its user interface in multiple languages.  <a href=\"http:\/\/www.microsoft.com\/resources\/documentation\/office\/2003\/all\/reskit\/en-us\/oe_inta01.mspx\">  Office<\/a>  and  <a href=\"http:\/\/www.microsoft.com\/globaldev\/reference\/win2k\/setup\/default.mspx\">  Windows<\/a> are the two biggest examples.  Language-specific resources need to be broken out into  their own directories so they won&#8217;t conflict with resources corresponding  to some other language.<\/p>\n<p>  (For fun, I installed the Swedish language pack on my computer at work,  so all strings &#8211; including the error messages &#8211; are in Swedish.)  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>A reader asked, I was wondering why it&#8217;s common for some Microsoft products to have a directory called &#8220;1033&#8221; within it&#8217;s program directory installation location? What does it mean? This reader was probably from the United States, because 1033 is the locale identifier for &#8220;English (United States)&#8221;, whose hexadecimal value is 0x0409. You may also [&hellip;]<\/p>\n","protected":false},"author":1069,"featured_media":111744,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[26],"class_list":["post-38963","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-other"],"acf":[],"blog_post_summary":"<p>A reader asked, I was wondering why it&#8217;s common for some Microsoft products to have a directory called &#8220;1033&#8221; within it&#8217;s program directory installation location? What does it mean? This reader was probably from the United States, because 1033 is the locale identifier for &#8220;English (United States)&#8221;, whose hexadecimal value is 0x0409. You may also [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/38963","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/users\/1069"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/comments?post=38963"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/38963\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media\/111744"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media?parent=38963"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=38963"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=38963"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}