A Visual Studio Code extension that makes it easy to add new translation keys directly from your code editor to your translation management backend.
Features
Add translation keys directly from selected text
Highlight any text in your code, run the Add Translation Key command, and enter the translation key (e.g., common:hello).
The extension will:
Send the key and value to your configured API endpoint.
Optionally replace the selected text with t("your:key").
Configurable API URL
Set the translationHelper.apiUrl setting in your workspace or user settings to point to your local or remote API.
Namespace support
Use namespaced keys like auth:login_title or common:hello.
Developer-friendly
Works seamlessly with your existing i18n setup and type generation scripts.
Requirements
A backend API endpoint that accepts POST /translations/add-key with JSON body: