-
Notifications
You must be signed in to change notification settings - Fork 57
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
Allow resource deep objects #26
Comments
Closed
Open
+1 this is required for any complex translation object |
+1 would be really greate to have this feature |
jab
added a commit
to jab/app-localize-behavior
that referenced
this issue
Sep 11, 2017
…Add language negotiation. - Add optional `language`, `merge`, and `preprocessor` params to `loadResources` - Add `negotiateLanguage` and `makeLookUpLanguage` static helper functions.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
The
app-localize-behavior
should allow to read deep JSON translation resources.Expected outcome
Function
.localize('my.deep.translation.greeting')
should output a stringActual outcome
The translation is not found.
Live Demo
Example: https://jsbin.com/nehajuconu/1/edit?html,output
Steps to reproduce
{'en': {'my': {'greeting': 'hello_deep'}}}
{{localize('my.greeting')}}
hello_deep
Browsers Affected
The text was updated successfully, but these errors were encountered: