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