The code of this project is in the monorepo https://github.com/opral/monorepo/tree/main/inlang/source-code/ide-extension
โ Streamline the i18n translation process.
โ Visualize, edit, and lint translations.
โ Extract new translations with a simple click.
Install the extension: https://marketplace.visualstudio.com/items?itemName=inlang.vs-code-extension
project.inlang
folder to your repositorysettings.json
file to that new dir project.inlang/settings.json
See translations and edit them directly in your code. No more back-and-forth looking into the translation files themselves.
๐ Inline Annotations
See translations directly in your code. No more back-and-forth looking into the translation files themselves.
โ๏ธ Extract Messages (translations)
Extract new strings with a simple click, making localization tasks more intuitive and efficient. Visualize, edit, and lint translated strings effortlessly using Inline Decorations & Hover Support.
โ Message Linting
Get notified about missing translations and other issues directly in your IDE.
๐ฆ Monorepo support
You can have multiple projects in your repository. The inlang tab makes it easy to switch from one to another.
๐ Update Translations
Translations from the resource files are automatically updated when you change the source text.
โ Transparent Errors
In the tab menu, you can see project errors if the setup is broken.
Install the extension and click Getting Started
in the Inlang Tab
.
project.inlang/settings.json
in the root of your projectYou can use the following template when using JSON files as translation files. If not, please look for other supported resource file types:
{
// official schema ensures that your project file is valid
"$schema": "https://inlang.com/schema/project-settings",
// the "source" language tag that is used in your project
"sourceLanguageTag": "en",
// all the language tags you want to support in your project
"languageTags": ["en", "de"],
"modules": [
"https://cdn.jsdelivr.net/npm/@inlang/plugin-json@4/dist/index.js"
], // or use another storage module: https://inlang.com/c/plugins (i18next, json, inlang message format)
"settings": {}
}
You should continue with installing a syntax matcher. There are multiple syntax matcher available:
If you want to add lint rules to your experience, you can add them from https://inlang.com/c/lint-rules
If you are having trouble with the loading icon not disappearing, this is a known issue & we are working with Visual Studio Code to fix it. In the meantime, you can right-click the Inlang icon to hide it:
If something isn't working as expected or you have a feature suggestion, please join our Discord or create an issue. We are happy to help!