}
}
}
+
+ // reset language to current user language
+ WCF::setLanguage(WCF::getUser()->getLanguage()->languageID);
}
// reset notification count
// recipient's language
$event->setLanguage($user->getLanguage());
+ WCF::setLanguage($user->getLanguage()->languageID);
// add mail header
$message = $user->getLanguage()->getDynamicVariable('wcf.user.notification.mail.header', [