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.


e.h

mailer_template.rthml
<%= _("string") %>

=> nothing

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Railsi18n-discussion mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/railsi18n-discussion

Reply via email to