Skip to content
| Marketplace
Sign in
Visual Studio Code>AI>QTrans - The Vs-code ExtensionNew to Visual Studio Code? Get it now.
QTrans - The Vs-code Extension

QTrans - The Vs-code Extension

Sif

|
81 installs
| (1) | Free
The Vs Code extension for Qtrans, A powerful developer tool for managing translations, automating language localization, and generating translations with AI for selected text.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

QTrans - Translation Manager (VS Code Extension)

Welcome to the QTrans VS Code Extension, a companion tool for the powerful qtrans library. This extension simplifies your translation management workflow directly within Visual Studio Code by leveraging the capabilities of the qtrans library.

Features

  • Localization Management: Streamline the process of managing language files.
  • Contextual Commands: Access translation tools directly from the context menu.
  • Keybindings: Use predefined shortcuts for quick operations.
  • Generate Translations: Automatically generate translations for selected text using AI.

Getting Started

1. Prerequisites

  • Ensure you have Node.js installed on your system.
  • Install the qtrans library, which powers the extension's functionality.

2. Initializing QTrans

Before using the extension, initialize your project for qtrans by running the following command in your terminal:

npx qtrans init

This will set up the necessary configuration files and structure for your translation management.

3. Installing the Extension

  1. Open Visual Studio Code.
  2. Go to the Extensions view (Ctrl+Shift+X or Cmd+Shift+X on macOS).
  3. Search for "QTrans - AI Translation Manager."
  4. Click Install.

4. Using the Extension

Generating Translations

  1. Highlight the text you want to translate.
  2. Right-click and select QTRANS: Generate translation for the selected text from the context menu.
  3. Alternatively, use the shortcut Ctrl+Shift+T (or Cmd+Shift+T on macOS).

Loading QTrans Config

To load your qtrans configuration:

  1. Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P on macOS).
  2. Search for Load QTrans Config and select it.

Commands and Shortcuts

Command Description Shortcut
QTRANS: Generate Translations Generate translations for the selected text Ctrl+Shift+T
Load QTrans Config Load the QTrans configuration file Command Palette

Requirements

  • Node.js 14 or higher
  • A project initialized with qtrans (npx qtrans init)

Feedback and Contributions

We welcome your feedback and contributions! If you encounter any issues or have feature suggestions, please visit our GitHub repository.

License

This extension is licensed under the MIT License.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft