You could add a preferred language field to your user model and then use
that in your mailer to decide what language you should use for the message.

On Mon, Oct 11, 2010 at 12:13 PM, Aruna Chinnamuthu <[email protected]>wrote:

> I am working in ROR. we have 2 translations one in En.yml and another
> for german . We will set the translation and the whole application will
> be seen in the selected language .
>
>  We have a functionality of sending notification mails when the user
> receives comments for his post.
>
> This functionality expects to be like to receive the mails in the
> language that the user who is commenting .
>
> For eg. As far now we are receiving mails like
>
> A commented your post.
>
>
> But it expects to be in German even in mails.
>
> How tat is possible..
>
> Please give some suggestions
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> You received this message because you are subscribed to the Google Groups
> "rails-i18n" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rails-i18n%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rails-i18n?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"rails-i18n" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rails-i18n?hl=en.

Reply via email to