You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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}}
The text was updated successfully, but these errors were encountered:
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.
It seems that using dot notation in
formatMessage
parameters won't work in combinaison withintlGet
.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}}
The text was updated successfully, but these errors were encountered: