Use following to have the translated attribute with fallback support,
This will look in to the translation in the following order,
First it will look for the "en.activerecord.models.person.first_name" and then for "en.attributes.first_name" and finally falls back to humanize.
1 comment:
I like this post Thanks for sharing
http://www.sociallei.com/
http://www.andro8.com/
Post a Comment