FAQ
The extension is not working
- Check if the extension is enabled — look for the i18n Ally icon in the activity bar
- Ensure your project has a supported framework dependency in
package.json - Verify
localesPathsis correctly configured - Open the Output panel → select i18n Ally Next to see logs
Annotations are not showing
- Check
i18n-ally-next.annotationsistrue - Ensure
displayLanguageis set and the locale file exists - Verify the file language ID is supported by the framework
Keys are not detected in code
- Check if
usageMatchRegexpatterns match your code style - Use
regex.usageMatchAppendto add custom patterns - Verify
regex.keyallows the characters in your keys (e.g.:for namespaces)
Namespace is not working
- Ensure your framework supports namespace (see Namespace)
- For i18next / react-i18next, namespace is auto-enabled
- For other frameworks, set
"i18n-ally-next.namespace": true - Verify your locale files follow the
{locale}/{namespace}.{ext}structure - Check
dirStructureis set to"dir"(not"file")
Locale files are not loaded
- Check
localesPathspoints to the correct directory - Verify
pathMatchermatches your file structure - Check the Output panel for loading errors
- Ensure
ignoreFilesdoesn't exclude your locale files
How to use with monorepo?
Set localesPaths with resource scope in each workspace folder:
jsonc
// .vscode/settings.json
{
"i18n-ally-next.localesPaths": ["packages/app/locales"]
}How to disable for a specific project?
jsonc
{
"i18n-ally-next.disabled": true
}Translation is not accurate
Machine translation quality depends on the engine. Tips:
- Use DeepL or OpenAI for better quality
- Enable
translate.saveAsCandidatesfor human review - Set
translate.promptSourceto verify source text before translating
