title: Devise translation in rails
body: <p>I have registration in devise, look like this:</p>
  
  <pre><code>&lt;%= semantic_form_for resource, :as =&gt; resource_name, :url =&gt; registration_path(resource_name) do |f| %&gt;
  &lt;li id='errors'&gt;&lt;%= devise_error_messages! %&gt;&lt;/li&gt;
  &lt;span&gt;&lt;%= f.label :email ,'Adres email' %&gt;&lt;/span&gt;
                      &lt;li&gt;&lt;%= f.email_field :email %&gt;&lt;/li&gt;
  
                      &lt;span&gt;&lt;%= f.label :password ,'Hasło' %&gt;&lt;/span&gt;
                      &lt;li&gt;&lt;%= f.password_field :password %&gt;&lt;/li&gt;
  </code></pre>
  
  <p>And i try to translate devise with I18n, but with no results. When i put wrong password i see : </p>
  
  <pre><code>Password należy uzupełnić
  </code></pre>
  
  <p>Second half of it is translated but word "password" is not. I try many things like:</p>
  
  <pre><code> activerecord:
     attributes:
       user:
         password: SHIT
  </code></pre>
  
  <p>but it doesn't work. Also try put it in :</p>
  
  <pre><code>errors: &amp;errors
      format: ! '%{attribute} %{message}'
  
      messages:
  </code></pre>
  
  <p>but still it doesnt work. Also try with </p>
  
  <pre><code>formtastic:
     user:
         password:
  </code></pre>
  
  <p>but nothing works. Where i can translate words like: password, email, password_confirmation and other value from form.</p>
  
  <p>And this is an answer:</p>
  
  <pre><code>activerecord:
    attributes:
      user:
        password: Hasło
        email: Adres email
        password_confirmation: Hasło
      profile:
        age: Wiek
  
   &lt;&lt;: *errors
  </code></pre>