Verblaze Translation Manager for VS Code
A powerful translation management extension for VS Code that helps you manage your translations directly within your development environment.
Features
- 🔐 Easy login with CLI Token
- 🌍 Quick translation of selected text
- 🔍 Search through existing translations
- ⚡ Fast translation from context menu
- 📁 Automatic file translation
- 🧠 Smart filtering for different technologies
Installation
- Search for "Verblaze Translation Manager" in VS Code's Extension Marketplace
- Click the "Install" button
- Restart VS Code
Usage
- Open Command Palette (Mac:
Cmd+Shift+P, Windows: Ctrl+Shift+P)
- Run "Verblaze: Login with CLI Token" command
- Enter your CLI Token
- You can now start translating:
- Right-click on selected text and choose "Translate Selection"
- Use "Search Translations" from Command Palette
- Use "Translate File" to automatically translate all strings in a file
Translate File Feature
The Translate File feature automatically detects and translates all translatable strings in your current file. Here's how to use it:
- Open the file you want to translate
- Open Command Palette and run "Verblaze: Translate File" command
- The extension will:
- Automatically detect the file type
- Find all translatable strings
- Skip already translated strings (in format
file_key.value_key)
- Skip locked translations
- Replace detected strings with their translation keys
Supported file types:
- React/Next.js (
.jsx, .tsx, .js, .ts)
- React Native (
.jsx, .tsx, .js, .ts)
- Flutter (
.dart)
- Swift (
.swift, .h, .m)
- Kotlin (
.kt, .kts, .java, .xml)
- Blazor (
.razor, .cshtml, .cs)
- Qt (
.qml, .cpp, .h, .hpp)
The extension will detect:
- String literals (both single and double quotes)
- Template literals
- JSX text nodes
- UI-specific patterns (e.g., SwiftUI text attributes, Android XML attributes)
Smart Filtering
The extension uses intelligent filtering to avoid translating technical strings:
- Flutter: Ignores strings inside
print(), debugPrint(), log(), and other logging functions
- Swift: Special filtering for SwiftUI components and system strings
- Kotlin: Smart detection of Android and Jetpack Compose components
- React/Next.js: Skips JSX attributes and component properties
The extension also avoids:
- Log/debug statements
- URL/URI references
- File paths
- Resource references (e.g., images, assets)
- Code identifiers (camelCase, PascalCase, etc.)
- Already translated strings
Requirements
- VS Code 1.85.0 or higher
- Verblaze CLI Token
License
ISC License
Support
For any issues or suggestions, please visit our GitHub Issues page.
| |