The reset password is sent to Mage_Customer_Model_Customer::_sendEmailTemplate() . Email is uploaded here. If it was loaded by the administrator in "Systemn> Transactional Emails" and configured to use, your template will be used.
Otherwise, the template is loaded by default from the file into Mage_Core_Model_Email_Template::sendTransactional . This is done using $this->loadDefault($templateId, $localeCode); . Ist template uploaded using
$templateText = Mage::app()->getTranslator()->getTemplateFile( $data['file'], 'email', $locale );
Here, the locale folders are checked in the following order:
- Specified language
- Default Storage Language
- ru_US locale
The first consistent language is selected. Since Mage::app() does not know about the store that was transferred using the emailtemplate template, the defaultstore default file is downloaded, which is German in your case. This has nothing to do with the order of the locale directories.
So, in your case, I suggest checking if your email template is selected in the administrator’s configuration under "System> Config> Customerconfiguration> Options Options" or use Mage::getStoreConfig(Mage_Customer_Model_Customer::XML_PATH_REMIND_EMAIL_TEMPLATE, $storeId) , if set for your storage facilities.
source share