As with the implementation user_mail_tokens(), the $language variable should be taken into account when generating tokens for localised emails.

This small patch against the 1.2 branch should be easy to port to the other branches also.

CommentFileSizeAuthor
pm_email_notify.url_language.patch2.07 KBJames Andres

Comments

berdir’s picture

Version: 6.x-1.2 »

Thanks, commited to 6.x-1.x, let's see if this applies to 6.x-2.x too.

Note that they way translations for mails are stored in 6.x-2.x has been changed.

berdir’s picture

pm_email_notify.url_language.patch queued for re-testing.

berdir’s picture

Status: Needs review » Fixed

Thanks, commited to 6.x-2.x and 7.x-1.x.

We should add a test for this too...

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.