Ruby on Rails Saturday, June 29, 2013

On Sat, Jun 29, 2013 at 4:00 AM, Walter McGinnis
<walter.mcginnis@gmail.com> wrote:

> In my experience with Rails 2.3, you need to add your I18n.load_path.

This is for 3.2, but since nobody has come forth with an "Oh, yeah,
just stick it in
lib/$GEMNAME/magic/locales/loadme/whizbang/$LANGUAGE.yml and it'll get
slurped right up", I ass-u-me'd that was still the case. I put it in
config/locales/en.yml like the gem author said to do, added that dir
to the load_path, and it works fine.

Thanks,
Dave

--
Dave Aronson, the T. Rex of Codosaurus LLC,
secret-cleared freelance software developer
taking contracts in or near NoVa or remote.
See information at http://www.Codosaur.us/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAHxKQihgv%3D8ABRHGPWjCO4Wd27YHgD%3DVxqtFgWhTn6Lk4k%2B1Nw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment