{"action":"created","issue":{"url":"https://api.github.com/repos/emberjs/ember.js/issues/12514","repository_url":"https://api.github.com/repos/emberjs/ember.js","labels_url":"https://api.github.com/repos/emberjs/ember.js/issues/12514/labels{/name}","comments_url":"https://api.github.com/repos/emberjs/ember.js/issues/12514/comments","events_url":"https://api.github.com/repos/emberjs/ember.js/issues/12514/events","html_url":"https://github.com/emberjs/ember.js/issues/12514","id":112909722,"number":12514,"title":"Setting placeholder for a component is broken","user":{"login":"quaertym","id":904731,"avatar_url":"https://avatars.githubusercontent.com/u/904731?v=3","gravatar_id":"","url":"https://api.github.com/users/quaertym","html_url":"https://github.com/quaertym","followers_url":"https://api.github.com/users/quaertym/followers","following_url":"https://api.github.com/users/quaertym/following{/other_user}","gists_url":"https://api.github.com/users/quaertym/gists{/gist_id}","starred_url":"https://api.github.com/users/quaertym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quaertym/subscriptions","organizations_url":"https://api.github.com/users/quaertym/orgs","repos_url":"https://api.github.com/users/quaertym/repos","events_url":"https://api.github.com/users/quaertym/events{/privacy}","received_events_url":"https://api.github.com/users/quaertym/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/emberjs/ember.js/labels/Bug","name":"Bug","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-10-22T23:11:45Z","updated_at":"2016-03-22T18:12:00Z","closed_at":null,"body":"What I try to do is to localize placeholder text for a component in its `willInsertElement` hook by passing localization key as a parameter to the component. Same code was working with `1.12.x` but it is broken in `1.13.x` and `2.x.x` versions. This [twiddle](http://ember-twiddle.com/3793861952d44fd97fe5) demonstrates the problem. Is this a bug? Or am I doing something wrong?\r\n```javascript\r\nEmber.STRINGS = {\r\n\t'_hello_': 'Bonjour'\r\n}\r\n\r\n// components/localized-input.js\r\nexport default Ember.Component.extend({\r\n  tagName:'input',\r\n  attributeBindings: ['placeholder'],\r\n  willInsertElement: function() {\r\n  \tthis._super();\r\n    var placeholder = this.get('placeholder');\r\n    if (placeholder) {\r\n    \tthis.set('placeholder', placeholder.loc());\r\n    }\r\n  }\r\n});\r\n\r\n// template\r\n{{localized-input placeholder=\"_hello_\"}}\r\n```"},"comment":{"url":"https://api.github.com/repos/emberjs/ember.js/issues/comments/199946106","html_url":"https://github.com/emberjs/ember.js/issues/12514#issuecomment-199946106","issue_url":"https://api.github.com/repos/emberjs/ember.js/issues/12514","id":199946106,"user":{"login":"runspired","id":650309,"avatar_url":"https://avatars.githubusercontent.com/u/650309?v=3","gravatar_id":"","url":"https://api.github.com/users/runspired","html_url":"https://github.com/runspired","followers_url":"https://api.github.com/users/runspired/followers","following_url":"https://api.github.com/users/runspired/following{/other_user}","gists_url":"https://api.github.com/users/runspired/gists{/gist_id}","starred_url":"https://api.github.com/users/runspired/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runspired/subscriptions","organizations_url":"https://api.github.com/users/runspired/orgs","repos_url":"https://api.github.com/users/runspired/repos","events_url":"https://api.github.com/users/runspired/events{/privacy}","received_events_url":"https://api.github.com/users/runspired/received_events","type":"User","site_admin":false},"created_at":"2016-03-22T18:12:00Z","updated_at":"2016-03-22T18:12:00Z","body":"Likely related to #11480 "}}