title: Resources files with SignalrR
body: <p>I have a project mvc 4 c# I'm using resource files for localization. I have action to change the culture</p>
  
  <pre><code>public ActionResult ChangeCulture(string lang, string returnUrl)
  {
      if (lang.Equals("he-IL"))
      {
          CultureInfo ci = new CultureInfo(lang);
          ci.DateTimeFormat.ShortDatePattern = "dd/MM/yy";
          ci.DateTimeFormat.LongDatePattern = "dd/MM/yy";
          ci.DateTimeFormat.LongTimePattern = "HH:mm";
          ci.DateTimeFormat.ShortTimePattern = "HH:mm";
          ci = new CultureInfo(lang);
          Thread.CurrentThread.CurrentUICulture = ci;
          Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture(ci.Name);
      }
      else if (lang.Equals("en-US"))
      {
          CultureInfo ci = new CultureInfo(lang);
          ci = new CultureInfo(lang);
          Thread.CurrentThread.CurrentUICulture = ci;
           Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture(ci.Name);
      }
      else
      {
          return new HttpStatusCodeResult(404);
      }
      return Redirect(returnUrl);
  }
  </code></pre>
  
  <p>in the view I get the text from resource and it's working good. </p>
  
  <pre><code>&lt;div&gt;@(ViewRes.GlobalResource.Hello)&lt;/div&gt; 
  </code></pre>
  
  <p>but when I return text from SignalR hub it's always the same language. why? </p>