title: Using resources for localization in MVC4
body: <p>I'm following <a href="http://geekswithblogs.net/shaunxu/archive/2010/05/06/localization-in-asp.net-mvc-ndash-3-days-investigation-1-day.aspx" rel="nofollow noreferrer">this</a> tutorial that was given as answer in <a href="https://stackoverflow.com/questions/7776868/localization-using-resources-file-not-working">this</a> question, however I'm stuck at displaying the resource.</p>
  <p>Just like in tutorial I've created two files</p>
  <pre><code>App_GlobalResources
     /Global.en.resx
     /Global.ru.resx
  </code></pre>
  <p>I've made data annotation class that works and adds a cookie with no errors, it means it injects the local data into current thread properly. When I try to output resource it cannot find it.</p>
  <p>I've tried to output it like this and none of these works:</p>
  <pre><code>@Global.HomeHello
  @Global.en.HomeHello
  @Resources.Global.Homhello
  // The name 'Resources/Global/etc...' does not exist in the current context
  </code></pre>
  <p>Also, in this tutorial site I see no logic that will inject the proper resource file, how it can do something like (in tutorial) <code>@Global.HomeHello</code> and it will know that if url is <code>/en/</code> he needs to use <code>Global.en.resx</code></p>
  <p>Please help, first time using resources and implementing multiple languages, feels 100 times more harder and confusing than using <code>*.yml</code> files in other frameworks/languages...</p>