I'm trying to create a Dutch translation for the Password Reset Confirmation E-mail.

What i've tried so far:

In the Magento folder structure, there is a directory holding all dutch e-mail translations: /app/locale/nl_NL/template/email/ however all my attempts to create a simular template for the Password Reset Confirmation E-mail are unsuccesvol.

ftp screenshot

Has anyone been able to make this work, perhaps for another language? Can someone please set me in the right direction?

  • 4
    Did you try copying /app/locale/en_US/template/email/account_password_reset_confirmation.html to your nl_NL folder and translate it? You also can create a template in the admin backend. – Alex Mar 19 '13 at 13:25
  • 2
    Unless you plan to re-distribute your translation, just create Transactional email based on en_US version and then assign it where appropriate. – Petar Dzhambazov Mar 19 '13 at 14:16
  • @Alex Thanks, this worked. If you post this as an answer i will accept it so others can learn from it. – RTB Mar 19 '13 at 16:52
  • +1 to @PetarDzhambazov I prefer translations to be handled via the admin panel for emails. – philwinkle Mar 19 '13 at 18:43
  • I think you should always have a 'template' version of the email kept in the filesystem - the admin panel is for store owners to customise this default template. – jharrison.au Mar 20 '13 at 2:39

You have to copy /app/locale/en_US/template/email/account_password_reset_confirmation.html to your nl_NL folder and translate it.

You also can create a template in the admin backend.


I think this is a bug in the Mage_Customer module.

In Mage_Customer_Model_Customer::sendPasswordResetConfirmationEmail, the email is sent in the locale of the store that is associated to the customer instance by calling $this->getStoreId(). When the store is not set, the default store for the website to which the customer is associated is used.

In Mage_Customer_AccountController::forgotPasswordPostAction (the one place where this method is used), a customer instance is created based on the supplied email, but the store is never set on this instance. This means that email is sent to the default store of the website to which to customer instance is associated.

To resolve this, add the following line just before the call to sendPasswordResetConfirmationEmail:


When you put this in an override of the original Mage_Customer_AccountController, the method looks like this (Magento CE

 * Forgot customer password action
public function forgotPasswordPostAction()
    $email = (string) $this->getRequest()->getPost('email');
    if ($email) {
        if (!Zend_Validate::is($email, 'EmailAddress')) {
            $this->_getSession()->addError($this->__('Invalid email address.'));

        /** @var $customer Mage_Customer_Model_Customer */
        $customer = $this->_getModel('customer/customer')

        if ($customer->getId()) {
            try {
                $newResetPasswordLinkToken =  $this->_getHelper('customer')->generateResetPasswordLinkToken();
                //START Set store id to fix email locale
                //END Set store id to fix email locale
            } catch (Exception $exception) {
            ->addSuccess( $this->_getHelper('customer')
            ->__('If there is an account associated with %s you will receive an email with a link to reset your password.',
    } else {
        $this->_getSession()->addError($this->__('Please enter your email.'));
  • I tried to apply your suggest (Magento but it didn't work (I have clear all "var/cache" before). – KaMZaTa Dec 19 '14 at 8:34
  • @KaMZaTA Can you check whether the controller override you have applied is picked up by Magento? You can do this by changing the overridden forgotPasswordPostAction method, for instance by adding a Mage::log statement. – Aad Mathijssen Dec 22 '14 at 9:39

Even if we create a new transaction email for PASSWORD RESET in the backend, there is no option to set the PASSWORD reset to that new file.

How do you do it ? I dont see any option for new registration and password reset options changing.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.