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

unexpected at i18next.t #1719

Closed
86driver opened this issue Jan 11, 2022 · 3 comments
Closed

unexpected at i18next.t #1719

86driver opened this issue Jan 11, 2022 · 3 comments

Comments

@86driver
Copy link

@86driver 86driver commented Jan 11, 2022

resource

resource: {
  "zh_CN": {
      "translate": {
         "a.b": "ab",
         "a.b.c": "abc"
      }
  }
}

use

console.lot(i18next.t("a.b.c.d")). // output: ab
why not output missing key a.b.c.d

it seems find a.b to the key, how can i solve this problem,

please...

@adrai
Copy link
Member

@adrai adrai commented Jan 11, 2022

I can confirm...
will try to fix it in the next hours...

@adrai
Copy link
Member

@adrai adrai commented Jan 11, 2022

v21.6.6 fixes it

@86driver
Copy link
Author

@86driver 86driver commented Jan 12, 2022

v21.6.6 fixes it

Thanks, it shows fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants