title: How to load different RESX files based on some parameter
body: <p>I have an ASP.NET3.5 (C#) ASPX page that is internationalized in 10 different languages.</p>
  
  <p>The page is very complex in its structured with dozens of nested views driven by a state machine pattern.</p>
  
  <p><em>EDIT: I am using the <code>meta:resourcekey</code> syntax in every asp control, which allows to use declarative syntax for Implicit Resource expressions.</em></p>
  
  <p>I have been asked to "brand" the page based on some query string parameter. Branding will mean not just loading different CSS files, but also having different text blurbs (in all languages).</p>
  
  <p>Is there an easy way to "swap" resx files without having to get resources manually for each of the hundreds of literals and images that I have on this page?</p>
  
  <p>In other words, let's say I have the following RESX files:</p>
  
  <pre><code>brand1_myPage.aspx.en-US.resx
  brand1_myPage.aspx.de-DE.resx
  brand1_myPage.aspx.fr-FR.resx
  
  brand2_myPage.aspx.en-US.resx
  brand2_myPage.aspx.de-DE.resx
  brand2_myPage.aspx.fr-FR.resx
  </code></pre>
  
  <p>myPage.aspx will be looking for resx files named <em>myPage.xx-XX.resx</em>.</p>
  
  <p>Is there a way to load instead either the <em>brand1xxx.resx</em> files or the <em>brand2xxx.resx</em> based on some value?</p>
  
  <p>Thanks in advance.</p>