You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am experiencing the same issue as the poster above, but the data in the keys will be displayed in the sidebar.
There is also an additional issue where when the translate button for missing/untranslated keys in an array is used, it will create it as an unnested key.
Extension Version
i18n Ally
Framework/i18n package you are using
next-18next
To Reproduce
For keys not found:
Add const { t } = useTranslation() to your code
Access an array using the dot notation: {t('sideMenu.sections.0.items.0')}
Check the sidebar
Click to see the key data is there
For untranslated keys:
Create a key with a missing translation
Translate the missing language text
Look a the .json of the translated text
Device Information
OS: Windows 11
Version: 10.0
VS Code Version: 1.67.2
Describe the bug
The following syntax is working fine but detected as "Not in use" in the usage report
'sideMenu.sections.0.items.0'
Extension Version
i18n Ally
Framework/i18n package you are using
react-i18next
To Reproduce
const { t } = useTranslation()
to your code{t('sideMenu.sections.0.items.0')}
Device Infomation
Extension Log
The text was updated successfully, but these errors were encountered: