title: ResourceManager not selecting correct resource set when using custom culture
body: <p>I have created a localized MVC website using the code found on <a href="http://adamyan.blogspot.com/2010/07/addition-to-aspnet-mvc-localization.html" rel="noreferrer">this blog by Alex Adamyan</a>.</p>
  
  <p>This is working great if I use an existing culture.  However, I am trying to localize for Tagalog (tl or tl-PH).  Windows does not have this culture built in so I have created one (I have tried both tl and tl-PH) as per the code below:</p>
  
  <pre><code>public static void CreateCustomCultures()
  
  {
  
      var cultureBuilder = new CultureAndRegionInfoBuilder(
                              "tl", CultureAndRegionModifiers.Neutral);
  
      cultureBuilder.LoadDataFromCultureInfo(new CultureInfo("en-US"));
      cultureBuilder.LoadDataFromRegionInfo(new RegionInfo("US"));
      cultureBuilder.IsMetric = true;
      cultureBuilder.CultureEnglishName = "Tagalog";
      cultureBuilder.CultureNativeName = "Tagalog";
      cultureBuilder.RegionEnglishName = "Tagalog";
      cultureBuilder.RegionNativeName = "Tagalog";
      cultureBuilder.TwoLetterISOLanguageName = "tl";
      cultureBuilder.ThreeLetterISORegionName = "PH";
      cultureBuilder.Register();
  
      var cultureBuilder2 = new CultureAndRegionInfoBuilder(
                              "tl-PH", CultureAndRegionModifiers.None);
  
      cultureBuilder2.LoadDataFromCultureInfo(new CultureInfo("en-US"));
      cultureBuilder2.LoadDataFromRegionInfo(new RegionInfo("US"));
      cultureBuilder2.IsMetric = true;
      cultureBuilder2.CultureEnglishName = "Tagalog";
      cultureBuilder2.CultureNativeName = "Tagalog";
      cultureBuilder2.RegionEnglishName = "Tagalog";
      cultureBuilder2.RegionNativeName = "Tagalog";
      cultureBuilder2.TwoLetterISOLanguageName = "tl";
      cultureBuilder2.ThreeLetterISORegionName = "PH";
      cultureBuilder2.Register();
  
  }
  </code></pre>
  
  <p>I also have four resource files on my test site located in ~/Views/Home/Resources:</p>
  
  <ul>
  <li>Home.aspx.resx;</li>
  <li>Home.aspx.tl.resx</li>
  <li>Home.aspx.tl-PH.resx</li>
  <li>Home.aspx.de.resx</li>
  </ul>
  
  <p>When I build, I get three appropriately named directories under my bin directory, each with a an appropriately named dll.</p>
  
  <p>So when I go to my website home page <a href="http://localhost:1907" rel="noreferrer">http://localhost:1907</a>  I get the default (english) language strings.</p>
  
  <p>When I go to the german (de) home page <a href="http://localhost:1907/de" rel="noreferrer">http://localhost:1907/de</a> I get the german version of the site.</p>
  
  <p>When I go to the tagalog versions <a href="http://localhost:1907/tl" rel="noreferrer">http://localhost:1907/tl</a> or <a href="http://localhost:1907/tl-PH" rel="noreferrer">http://localhost:1907/tl-PH</a>, I get the english version instead of the Tagalog version.  </p>
  
  <p>I have placed breakpoints in the resource fetching code and have confirmed that the current thread's culture and UI culture are correctly set to the Tagalog culture and that Tagalog is the culture being passed to resourceManager.GetString(key, culture).</p>
  
  <p>Any thoughts?  Did I not create my cultures correctly?</p>