> Try
>      bindtextdomain 'myapp'
> in your model, and
>      <%= bindtextdomain 'myapp' -%>
> in each of your views.

Thanks.

But how would I go about setting the language? There is no user session 
when the mail is getting sent, so I need to retrieve the language from 
the record itself and send the mail in the appropriate language.

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

Reply via email to