title: Visual Studio localization & Forms: asp:button, asp:CheckBox reading default language .resx file only
body: <p>I have localized most of my website, using Visual Studio 2010 (VB)/asp.net 4.0.</p>
  
  <p>It's mostly going well, but I'm trying to localize contactengineering.aspx.  Here, I have two issues:  asp:checkbox and asp:button.  They're not reading the fr, de, and es files -- only the default contactengineering.aspx.resx, which is en.</p>
  
  <p>What I did was created the resource files in VS (tools/generate local resource), which put in a directory for App_LocalResources.  Here's the mystery.  My asp:label didn't translate either.  But I put this fix in:</p>
  
  <pre><code>      &lt;h1&gt;&lt;asp:Label ID="Label1" runat="server" 
      Text="&lt;%$ Resources:LocalizedText, contacteng1 %&gt;"&gt;&lt;/asp:Label&gt;&lt;/h1&gt;
  </code></pre>
  
  <p>And I put a string for contacteng1 in my <strong>App_GlobalResources</strong> in my root folder, and it localized in all languages.</p>
  
  <p><strong>Here's the problem</strong></p>
  
  <p>Similarly, my asp:button and asp:checkbox functions aren't localizing.  They're reading from the default /<strong>App_LocalResources</strong>/contactengineering.aspx.resx.  I tried the "fix" I came up with, moving it to GlobalResources, but it doesn't work.</p>
  
  <p>Here's my code that I'm trying to localize:</p>
  
  <pre><code>                  &lt;asp:CheckBox ID="CheckBoxCC" runat="server" 
                  Text="does not matter what I put here" 
                  meta:resourcekey="CheckBoxCCResource1" /&gt;
              &lt;br /&gt;
              &lt;br /&gt;
              &lt;asp:Button ID="SubmitForm" runat="server" OnClick="SubmitForm_Click" 
                  Text="Submit Form" meta:resourcekey="SubmitFormResource1" /&gt;  
  </code></pre>
  
  <p>The entire page is localized except for this button and checkbox. Could anybody tell me what I need to do?  I would sincerely appreciate any help anybody could offer me in this regard. </p>