I went through http://guides.rubyonrails.org/i18n.html and set up my en.yml
file:
en:
test:
welcome: Welcome!!!
registration:
signup: Sign up for an invite!!
However, in my new.html.haml
file,
How do I reference signup
?
The tutorial only shows how to do so using ERB, not HAML. I tried this and it didn't work:
%h2 <%=t :registration.signup %>
Any ideas?