{"action":"created","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/6511","repository_url":"https://api.github.com/repos/magento/magento2","labels_url":"https://api.github.com/repos/magento/magento2/issues/6511/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/6511/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/6511/events","html_url":"https://github.com/magento/magento2/issues/6511","id":175308247,"number":6511,"title":"Asynchronous mail sending does not use store language, mails are sent in en_US instead","user":{"login":"heldchen","id":299636,"avatar_url":"https://avatars.githubusercontent.com/u/299636?v=3","gravatar_id":"","url":"https://api.github.com/users/heldchen","html_url":"https://github.com/heldchen","followers_url":"https://api.github.com/users/heldchen/followers","following_url":"https://api.github.com/users/heldchen/following{/other_user}","gists_url":"https://api.github.com/users/heldchen/gists{/gist_id}","starred_url":"https://api.github.com/users/heldchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heldchen/subscriptions","organizations_url":"https://api.github.com/users/heldchen/orgs","repos_url":"https://api.github.com/users/heldchen/repos","events_url":"https://api.github.com/users/heldchen/events{/privacy}","received_events_url":"https://api.github.com/users/heldchen/received_events","type":"User","site_admin":false},"labels":[{"id":429635502,"url":"https://api.github.com/repos/magento/magento2/labels/2.1.x","name":"2.1.x","color":"fbca04","default":false},{"id":21716835,"url":"https://api.github.com/repos/magento/magento2/labels/acknowledged","name":"acknowledged","color":"02d7e1","default":false},{"id":147131376,"url":"https://api.github.com/repos/magento/magento2/labels/bug%20report","name":"bug report","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-06T17:46:39Z","updated_at":"2016-12-07T14:41:42Z","closed_at":null,"body":"### Preconditions\n1. ce 2.1.1\n2. one store view, using locale de_DE with some german translations for the order confirmation mail. (the actual language is irrelevant as long as there are translations other than en_US so that the problem is shown)\n### Steps to reproduce\n1. enable asynchronous mail sending\n2. create an order in the frontend\n3. wait for next cron run and check the order confirmation mail\n### Expected result\n1. order confirmation mail is in the language de_DE\n### Actual result\n1. order confirmation mail is in the language en_US\n\nwhen turning off asynchronous mail sending, the mail is sent in the correct language, in our case in german. asynchronous mail sending does not seem to be setting the app store context to the correct store.\n"},"comment":{"url":"https://api.github.com/repos/magento/magento2/issues/comments/265464066","html_url":"https://github.com/magento/magento2/issues/6511#issuecomment-265464066","issue_url":"https://api.github.com/repos/magento/magento2/issues/6511","id":265464066,"user":{"login":"SchumacherFM","id":372027,"avatar_url":"https://avatars.githubusercontent.com/u/372027?v=3","gravatar_id":"","url":"https://api.github.com/users/SchumacherFM","html_url":"https://github.com/SchumacherFM","followers_url":"https://api.github.com/users/SchumacherFM/followers","following_url":"https://api.github.com/users/SchumacherFM/following{/other_user}","gists_url":"https://api.github.com/users/SchumacherFM/gists{/gist_id}","starred_url":"https://api.github.com/users/SchumacherFM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SchumacherFM/subscriptions","organizations_url":"https://api.github.com/users/SchumacherFM/orgs","repos_url":"https://api.github.com/users/SchumacherFM/repos","events_url":"https://api.github.com/users/SchumacherFM/events{/privacy}","received_events_url":"https://api.github.com/users/SchumacherFM/received_events","type":"User","site_admin":false},"created_at":"2016-12-07T14:41:42Z","updated_at":"2016-12-07T14:41:42Z","body":"Same here"}}
{"actor":{"display_login":"SchumacherFM"}}