title: MVC3 (Razor) - not changing the UI Culture language on programmatically
body: <p>I am trying to develop a MVC3 (razor) application with Select language functionality.</p>
  
  <p>Using the following view as a Partial view on <code>_Layout.cshtml</code>
  <strong>_SelectCulture</strong></p>
  
  <pre><code>&lt;text&gt;
     @Html.ActionLink("English", "SetCulture", new { controller = "Culture", culture = "en-GB" })  
     | 
     @Html.ActionLink("Welsh", "SetCulture", new { controller = "Culture", culture = "cy-GB" })
  &lt;/text&gt;
  &lt;div&gt;
      @System.Threading.Thread.CurrentThread.CurrentUICulture.ToString()
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>CultureController</strong></p>
  
  <pre><code>public ActionResult SetCulture(string culture)
          {
          System.Globalization.CultureInfo ci = new     System.Globalization.CultureInfo(culture);
  
              System.Threading.Thread.CurrentThread.CurrentCulture = ci;
              System.Threading.Thread.CurrentThread.CurrentUICulture = ci;
  
              return RedirectToAction("Index", "Home");
          }
  </code></pre>
  
  <p>But its Still not changing the Language.</p>
  
  <p>Any help please.</p>
  
  <p>Thanks</p>