title: ruby on rails how to call locale message to view
body: <p>This is my config/locales/en.yml file:</p>
  
  <pre><code># Sample localization file for English. Add more files in this directory for other locales.
  # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
  
  en:
    hello: "Hello world"
    signup_title: "Sign Up for Test"
  </code></pre>
  
  <p>what i use in view to call a message from this file(probably incorrectly used)</p>
  
  <pre><code>&lt;h1&gt;&lt;%= en.signup_title %&gt;&lt;/h1&gt;
  </code></pre>
  
  <p>and of course i get some errors</p>
  
  <pre><code>undefined local variable or method `en' for #&lt;#&lt;Class:0x007fd14d4f4338&gt;:0x007fd14d501fb0&gt;
  </code></pre>
  
  <p>so how can i get the message value without any errors?</p>