Magento "Forgot Password" email sent in wrong language -


i have magento site multiple languages. have setup language packs , seems translate on website. transactional e-mails sent in correct language except "forgot password" e-mail sent in german. here's did:

  • installed language packs , made sure templates , folder structures correct. example: /app/locale/nl_nl/template/email/
  • under system » transactional emails: applied template, chose locale , saved.
  • then went system » configuration » sales emails, switched each language "current configuration scope" dropdown, , chose templates created in transactional emails each language (each store view).

after looking around online solution, seems others had problem , mentioned magento picking "forgot password" template first locale folder found in /app/locale/. in case had: de_de, en_us, fr_fr, nl_nl. picks template german de_de pack.

note: also, in backend under "configuration" there's tab on left called "locale packs" has "locale de_de" under it, though have other language packs don't show here. not sure if relevant.

site: http://site1.cp1.glimworm.com/magento/

magento community version: 1.7.0.2

locale packs:

  • mage_locale_en_us
  • locale_mage_community_de_de
  • locale_mage_community_fr_fr
  • mage_locale_nl_nl

any idea how can correct email template corresponding language sent opposed german? appreciated! can provide more info well.

i have same problem in magento v1.5. after long research found solution , working me.

mage/customer/model/customer.php  in file have make changes following. find line of code if (!$storeid)  {     $storeid = $this->_getwebsitestoreid($this->getsendemailstoreid()); }  , replace  $storeid = ($storeid == '0')?$this->getsendemailstoreid():$storeid; if ($this->getwebsiteid() != '0' && $storeid == '0')  {     $storeids = mage::app()->getwebsite($this->getwebsiteid())->getstoreids();     reset($storeids);     $storeid = current($storeids); } 

Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -