VSCode integration
Source URL: https://next-intl.dev/docs/workflows/vscode-integration
DocsWorkflows & integrationsVSCode integration
VSCode integration
Section titled “VSCode integration”Prefer to watch a video?
To improve the workflow for managing messages right from your code editor, you can use an extension for VSCode that includes support for next-intl.
These extensions are known to support next-intl:
i18n Ally
Section titled “i18n Ally”Highlights:
- Message extraction
- Inline annotations
- Inline message editing
- Machine translations
Setup:
- Install i18n Ally
- Configure the extension in your project via workspace settings
.vscode/settings.json
"i18n-ally.localesPaths": ["./path/to/your/messages"], // E.g. "./messages" "i18n-ally.keystyle": "nested"Learn more in the i18n Ally docs.
Highlights:
- Message extraction
- Inline annotations
- Inline message editing
- AI-enhanced features for message creation, machine translations and more (paid)
Setup:
- Install Loccy and it will auto-detect your i18n setup
- For advanced configuration, run
Loccy: Create Config Filefrom the command palette
Learn more on the Loccy website.
Sherlock
Section titled “Sherlock”Highlights:
- Message extraction
- Inline annotations
- Inline message editing
Setup:
- Install the Sherlock VS Code extension
- Configure the extension in your project via
project.inlang/settings.json:
project.inlang/settings.json
{ "$schema": "https://inlang.com/schema/project-settings", "sourceLanguageTag": "en", "languageTags": ["en", "de"], "modules": [ "https://cdn.jsdelivr.net/npm/@inlang/plugin-next-intl@latest/dist/index.js" ], "plugin.inlang.nextIntl": { "pathPattern": "./messages/{languageTag}.json" } }Learn more in the inlang docs.