Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

formatMessage with intlGet lookup fail on context sub properties #58

Closed
yamsellem opened this issue Jan 14, 2015 · 1 comment
Closed
Labels

Comments

@yamsellem
Copy link

It seems that using dot notation in formatMessageparameters won't work in combinaison with intlGet.

This works: {{formatMessage "Welcome {name}" name=user.name}}
This don't: {{formatMessage (intlGet "messages.welcome") name=user.name}}

Without the dot notation, both work.
This works: {{formatMessage "Welcome {name}" name=name}}
This too: {{formatMessage (intlGet "messages.welcome") name=name}}

@caridy
Copy link
Collaborator

caridy commented Jan 14, 2015

this has nothing to do with handlebars-intl, this is handlebars, and the resolution process used by handlebars to resolve those props when passing it into a helper.

@caridy caridy closed this as completed Jan 14, 2015
@caridy caridy added the invalid label Jan 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants