yahoo/handlebars-helper-intl — pull request #20 by ericf (2014-01-30 06:13:49+00:00)
Title: Simplified

This simplifies how the helpers are used to create a composition system for app code to use.

An `{{#intl}}` block is used to setup a the `data.intl` which will propagate through all helpers and partials. Once setup, the `{{intlNumber}}`, `{{intlDate}}`, and `{{intlMessage}}` helpers can be used and they don't need to be concerned with setting up `locales`.

```html
{{#intl locales=intl.locale messages=intl.messages}}

{{intlMessage intlName="USERS_BOOKS"
firstName=user.firstName lastName=user.lastName
numBooks=user.numBooks dateBooks=user.dateBooks}}

{{intlMessage "The number is: {num, number, integer}" num=2000}}

{{inltNumber 1000 style="currency" currency="USD"}}

{{/intl}}
```

### Todos:

- [ ] Update https://github.com/ericf/full-intl integration project
- [ ] Update tests
- [ ] Update docs