Yes and yes.

---
Myk OLeary - [EMAIL PROTECTED]
Web Services Developer
Pure Networks - http://www.purenetworks.com

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Roland
Sent: Friday, March 30, 2007 11:09 AM
To: railsi18n-discussion@rubyforge.org
Subject: Re: [Rails I18n] GetText doesn't work in ActionMailer

Myk O'Leary wrote:
> I'll enclose snippets from my setup with what may help you out with
> getting it to work.  There are snippets not included for the actual
> setting of the locale which I'll assume you have since you have this
> working elsewhere.


Thank you very much :-)

two questions:

- This means to get gettext working with ActionMailer you have to pass 
the current locale from the controller over to the Mailer-model and even

down to the view? right?

This doesn't look like DRY :-(

- NR_setlocale()  is that your custom method setting GetText.locale?

best regards,
Roland

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

Reply via email to