Making a mailer in your root application solves that issue as well.  The 
.rhtml I'm using is full of _() that work fine.

-Myk

On Fri, 30 Mar 2007 6:58 am, Roland wrote:
> Myk O'Leary wrote:
>
>>  This will create a file RAILS_ROOT/app/model/mailer.rb
>>
>>  Use the _() in this new model after setting your locale, just as in a
>>  controller.
>
> Looks like a misunderstanding: The problem is that the _() does not 
> work
> in rhtml templates used by ActionMailer.


--From the road on my Sidekick
_______________________________________________
Railsi18n-discussion mailing list
Railsi18n-discussion@rubyforge.org
http://rubyforge.org/mailman/listinfo/railsi18n-discussion

Reply via email to