Open Myzel394 opened 8 months ago
For anyone wondering why keys are not being recognized in the format of:
//t("key1")
you need to make sure to add a space between "//" and "t" š¤¦ :
// t("key1")
this is something that should be mentioned in the docs.
Same problem here.
š Bug Report
According to https://github.com/i18next/i18next-parser?tab=readme-ov-file#caveats, you need to write a comment and declare all your translation keys so that i18next-parser can pick them up correctly. When you use a comment inside a React evaluation, this doesn't seem to be working.
To Reproduce
Expected behavior
The keys
Test.a
,Test.b
andTest.c
should get extracted. However, they don't. The following example does work:Your Environment
v20.10.0