{"action":"created","issue":{"url":"https://api.github.com/repos/yahoo/ember-intl/issues/87","labels_url":"https://api.github.com/repos/yahoo/ember-intl/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/yahoo/ember-intl/issues/87/comments","events_url":"https://api.github.com/repos/yahoo/ember-intl/issues/87/events","html_url":"https://github.com/yahoo/ember-intl/issues/87","id":64757665,"number":87,"title":"format-message boundProperty","user":{"login":"al3x-edge","id":62131,"avatar_url":"https://avatars.githubusercontent.com/u/62131?v=3","gravatar_id":"","url":"https://api.github.com/users/al3x-edge","html_url":"https://github.com/al3x-edge","followers_url":"https://api.github.com/users/al3x-edge/followers","following_url":"https://api.github.com/users/al3x-edge/following{/other_user}","gists_url":"https://api.github.com/users/al3x-edge/gists{/gist_id}","starred_url":"https://api.github.com/users/al3x-edge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/al3x-edge/subscriptions","organizations_url":"https://api.github.com/users/al3x-edge/orgs","repos_url":"https://api.github.com/users/al3x-edge/repos","events_url":"https://api.github.com/users/al3x-edge/events{/privacy}","received_events_url":"https://api.github.com/users/al3x-edge/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-27T12:57:31Z","updated_at":"2015-03-27T14:17:09Z","closed_at":null,"body":"There is an example with boundProperty is the readme for formatMessage but I've been unable to get it to work. Currently have a desire to change text within a couple buttons / headings. I could do it with `{{if}}` statements but just saw this and it's just as easy for me to change the message value to look up inside the controller.  Just looking for clarification on it's use. Looks like it needs the actual translation object, but I can't seem to track down the way to pull translations using `this.intl` (injected).\r\n\r\n```hbs\r\n{{format-message boundProperty\r\n    name='Jason'\r\n    numPhotos=num\r\n    takenDate=yesterday}}\r\n```"},"comment":{"url":"https://api.github.com/repos/yahoo/ember-intl/issues/comments/86953768","html_url":"https://github.com/yahoo/ember-intl/issues/87#issuecomment-86953768","issue_url":"https://api.github.com/repos/yahoo/ember-intl/issues/87","id":86953768,"user":{"login":"caridy","id":38969,"avatar_url":"https://avatars.githubusercontent.com/u/38969?v=3","gravatar_id":"","url":"https://api.github.com/users/caridy","html_url":"https://github.com/caridy","followers_url":"https://api.github.com/users/caridy/followers","following_url":"https://api.github.com/users/caridy/following{/other_user}","gists_url":"https://api.github.com/users/caridy/gists{/gist_id}","starred_url":"https://api.github.com/users/caridy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caridy/subscriptions","organizations_url":"https://api.github.com/users/caridy/orgs","repos_url":"https://api.github.com/users/caridy/repos","events_url":"https://api.github.com/users/caridy/events{/privacy}","received_events_url":"https://api.github.com/users/caridy/received_events","type":"User","site_admin":false},"created_at":"2015-03-27T14:17:09Z","updated_at":"2015-03-27T14:17:09Z","body":"@al3x-edge in the example, `boundProperty` should have the value of the message, which is:\r\n\r\n```\r\nboundProperty === `You have {numPhotos, plural,\r\n    =0 {no photos.}\r\n    =1 {one photo.}\r\n    other {# photos.}}`\r\n```\r\n\r\nThe other option is to use the lookup helper `intl-get`, which will simply try to find the message value by key, which is the recommended way."}}