Not pretty, but couldn't you patch i18n_action_mailer to work with
translator?

module I18nActionMailer
  module InstanceMethods
    def translate(key, options={})
      Translator.translate_with_scope([self.mailer_name,
self.action_name], key, options.merge(:locale => self.locale))
    end
  end
end

Cheers,
Nicholas

On Jul 24, 1:32 pm, Marcelo Barbudas <nos...@gmail.com> wrote:
> Hi,
>
> When sending mails often enough they are sent to another party than
> the current logged in user (like when commenting on a blog), and that
> user can have another default i18n.
>
> It would be nice to be able to specify a local I18n for ActionMailer.
>
> There is a plugin that does this:http://github.com/Bertg/i18n_action_mailer
>
> In my case it doesn't work because apparently it conflicts with the
> translator plugin, from what I can tell they both overwrite the
> translate method.
>
> How do you handle these situations?
>
> --
> R.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to