title: ASP.net is not using other locale resource files
body: <p>i have a <code>Default.aspx</code> file where i fetch localized values:</p>
  
  <p><strong>Default.aspx</strong>:  </p>
  
  <pre><code>&lt;asp:Localize meta:resourcekey="lblTitle" runat="server"&gt;Welcome&lt;/asp:Localize&gt;
  </code></pre>
  
  <p>i then create a matching <em>fallback</em> resource file:</p>
  
  <p><strong>Default.aspx.resx</strong>:</p>
  
  <pre><code>lblTitle.Text    Welcome to Stackoverflow Localized
  </code></pre>
  
  <p>And that works:</p>
  
  <p><img src="https://i.stack.imgur.com/p3Ee9.png" alt="enter image description here"></p>
  
  <p>Now i want to create, for example, a French localization:</p>
  
  <p><strong>Default.aspx.fr.resx</strong>:</p>
  
  <pre><code>lblTitle.Text    Bienvenue Stackoverflow
  </code></pre>
  
  <p>And i change my browser to send a french language locale:</p>
  
  <p><img src="https://i.stack.imgur.com/Z2dyf.png" alt="enter image description here"></p>
  
  <p>(which it does):</p>
  
  <pre><code>GET http://stackoverflow.com/ HTTP/1.1
  Accept: application/x-ms-application, image/jpeg, application/xaml+xml, image/gif, image/pjpeg, application/x-ms-xbap, */*
  Accept-Language: fr-CH,qps-ploc;q=0.5
  User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; .NET4.0C; .NET4.0E)
  Accept-Encoding: gzip, deflate
  Connection: Keep-Alive
  Host: stackoverflow.com
  </code></pre>
  
  <p>Except that it just doesn't work:</p>
  
  <p><img src="https://i.stack.imgur.com/JbdSl.png" alt="enter image description here"></p>
  
  <p>i'm following what <a href="http://msdn.microsoft.com/en-us/library/ms227427.aspx" rel="noreferrer">Microsoft says</a>:</p>
  
  <blockquote>
    <p>For example, if you have a page named Default.aspx in the App_LocalResources folder, you might create the following files:</p>
    
    <ul>
    <li><p><code>Default.aspx.resx</code>. This is the default local resource file (the fallback resource file) if no language match is found.</p></li>
    <li><p><code>Default.aspx.es.resx</code>. This is the resource file for Spanish, without culture information.</p></li>
    <li><p><code>Default.aspx.es-mx.resx</code>. This is the resource file for Spanish (Mexico) specifically.</p></li>
    <li><p><code>Default.aspx.fr.resx</code>. This is the resource file for French, without culture information.</p></li>
    </ul>
  </blockquote>
  
  <p>Why is .NET doing not what .NET should be doing?</p>
  
  <hr>
  
  <p><strong>Update:</strong></p>
  
  <p>From MSDN:</p>
  
  <blockquote>
    <h2>Selecting Resource Files for Different Languages</h2>
    
    <p>ASP.NET can set the UICulture and Culture properties for the page to the language and culture values that are passed by the browser. ... For detailed information, see <a href="http://msdn.microsoft.com/en-us/library/bz9tc508.aspx" rel="noreferrer">How to: Set the Culture and UI Culture for ASP.NET Web Page Globalization.</a></p>
  </blockquote>
  
  <p>How can i get ASP.NET to set the <code>UICulture</code> and <code>Culture</code> properties for the page to the language and culture values that are passed by the browser?</p>
  
  <hr>
  
  <p>From <strong><a href="http://msdn.microsoft.com/en-us/library/bz9tc508.aspx" rel="noreferrer">How to: Set the Culture and UI Culture for ASP.NET Web Page Globalization</a>:</strong></p>
  
  <blockquote>
    <p>Users can set the UI culture and culture in their browsers. For
    example, in Microsoft Internet Explorer, on the Tools menu, users can
    click Internet Options, on the General tab, click Language, and then
    set their language preference. If the enableClientBasedCulture
    attribute of the globalization element in the Web.config file is set
    to true, ASP.NET can set the UI culture and culture for a Web page
    automatically, based on the values that are sent by a browser.</p>
    
    <p><strong>To set the culture and UI culture for an ASP.NET Web page declaratively</strong></p>
    
    <ul>
    <li>To have ASP.NET set the UI culture and culture to the first language that is specified in the current browser settings, set UICulture and Culture to auto. Alternatively, you can set this value to auto:<em>culture_info_name</em>, where <em>culture_info_name</em> is a culture name. For a list of culture names, see <a href="http://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo.aspx" rel="noreferrer">CultureInfo</a>. You can make this setting either in the <a href="http://msdn.microsoft.com/en-us/library/ydy4x04a.aspx" rel="noreferrer">@ Page</a> directive or Web.config file.</li>
    </ul>
  </blockquote>