From 74fa6c7fe1697eb75d9cc9dc9c53e4ee6819773f Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 29 Apr 2013 15:10:38 +0200 Subject: [PATCH] Fixed i18n issue --- wcfsetup/install/files/lib/system/worker/MailWorker.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wcfsetup/install/files/lib/system/worker/MailWorker.class.php b/wcfsetup/install/files/lib/system/worker/MailWorker.class.php index 3ad0767790..08161d8013 100644 --- a/wcfsetup/install/files/lib/system/worker/MailWorker.class.php +++ b/wcfsetup/install/files/lib/system/worker/MailWorker.class.php @@ -127,6 +127,7 @@ class MailWorker extends AbstractWorker { try { $mail = new Mail(array($user->username => $user->email), $this->userMailData['subject'], StringUtil::replace('{$username}', $user->username, $this->mailData['text']), $this->mailData['from']); if ($this->mailData['enableHTML']) $mail->setContentType('text/html'); + $mail->setLanguage($user->getLanguage()); $mail->send(); } catch (SystemException $e) { -- 2.20.1