-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Question: how does deep key works? #358
Comments
see i18n.js line 35 -> we turned keySeparation "off" - so keys can't be nested having key "actions.click": "click here" would work but no actions: { click: "click here" } https://www.i18next.com/principles/fallback.html#key-fallback |
🙏 thank you very much. |
you're welcome |
Sorry but it's Not working. locale/fr/customer.json as you can see, I have two file for namespace customer. and I want deep key support like Thanks 😊 |
I was using addResource to add resources dynamically. n it's working fine. Thanks community😊🤸🕺 |
Didn't get it from the above comments. |
@zevero yes default is |
Thanks, @sudthenerd ! Deep keys don't work with Wrong way:
Right way:
|
Hi,
I'm trying to access a translation from a deep object but I feel like I'm missing a point. Best is to check the Webpack Bin there.
<h2>{t('actions.click')}</h2> // will output "actions.click"!??? :/
Thanks for your help!
The text was updated successfully, but these errors were encountered: