-
Notifications
You must be signed in to change notification settings - Fork 202
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
i18next-scanner doesn't pick up Trans tags #83
Comments
Will look into that. Sorry for my late reply. |
Hi. No problem. I actually have the fix for it. Unfortunately I was/am too busy to create a PR for it. babel.config.js
Then have to specify
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I am wondering if you were able to successfully extract
Trans
tags from the transpiled js files?If I modify src/shared/components/Features/index.tsx to look like this:
Then if I run
yarn i18n:scan
; it extracts the ones witht()
but not theTrans
tags. Would you have any idea why is that or did anyone get it working?I read all the issues from i18next-scanner and read through the documentation multiple times. In theory the setup you have should work out of the box. (Except if there is no keys set if you want to use the value as fallback)
The text was updated successfully, but these errors were encountered: