On Wed, May 30, 2012 at 8:55 PM, Patrick J. Collins
<patr...@collinatorstudios.com> wrote:
> Does any one know of a way to temporarily add an entry into my en.yml
> locale dynamically?

I usually do something like this in the before filter

   en = { :my => { :stuff => 'things' } }
   I18n.backend.store_translations(:en, en)

Cheers,
Katrina
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to