i18n-ally
i18n-ally copied to clipboard
Cannot detect split translation files under folders
Describe the bug
I use this vscode plugin in my React project.
I have multiple translation files under folders like en/common.json
, zh/common.json
, to split one big json file into maintainable small files.
But the code below says key does not exist:
const { t } = useTranslation("common");
t("key1")
Though the autocomplete works.
Extension Version
v2.11.1
Framework/i18n package you are using
react-i18next
Device Infomation
- OS: windows
- Version: 10
- VS Code Version: latest
Extension Log
...
Loading (en) en/common.json
Loading (zh) zh/common.json
...