Natural Language Translator
A powerful Visual Studio Code extension that enables real-time translation of text in your editor between English and various target languages. It supports dictionary management, compound word detection, and hover-over translations, making it ideal for developers, writers, and language enthusiasts working with multi-lingual computer programs or other content..
INCLUDED LANGUAGE DICTIONARIES:
German(Deutsch), Spanish(español), French(français), Italian(italiano), Swedish(svenska), Romanian(română), Ukrainian(україн), Turkish(Türkçe), Dutch(Nederlands), Portuguese(português), Polish(polski), Russian(русский), Mandarin Chinese(中文), Hindi(हिन्दी)
SUPPORTED NATURAL LANGUAGE SCRIPTS:
Latin, Cyrillic, Chinese & Devanegari
INCLUDED LANGUAGES (dictionaries):
German, Spanish, French, Italian, Hindi, Vietnamese, Swedish, Romanian, Turkish, Dutch, Portuguese, Polish, Russian & Mandarin Chinese
SUPPORTED NATURAL SCRIPTS:
Latin, Cyrillic (only russian at the moment), Devanegari & Chinese.
Features
- Toggle Translation: Switch between English and a target language with a single command.
- Dynamic Dictionary Management: Add or remove terms from your language dictionary directly within the editor.
- Compound Word Support: Automatically detects and translates compound terms (e.g., "camelCase" or "PascalCase").
- Hover Information: Hover over words to see their translations or original meanings.
- Language Selection: Choose your target language from a dropdown in the status bar.
- Progress Feedback: Visual progress bar during translation of large documents.
- Persistent Mapping: Tracks translations across edits with a robust mapping system.
Installation
- Install the extension from the Visual Studio Code Marketplace(Search Natural Language Translator).
- Reload VSCode after installation.
Usage
Commands
Toggle Translation
: CTRL+SHIFT+T vscode-translator.toggleTranslation
Switches the current document between English and the selected target language.
Add to Dictionary
: CTRL+SHIFT+U vscode-translator.addToDictionary
Highlight a word, run the command, and enter its English meaning to add it to the dictionary.
Remove from Dictionary
: CTRL+SHIFT+i vscode-translator.removeFromDictionary
Highlight a word, select a meaning to remove, and update the dictionary.
Select Dictionary
: vscode-translator.selectDictionary
Choose a target language from the status bar dropdown.
Status Bar
- Translator Status: Displays "Translator Enabled" or "Translator Disabled" based on the toggle state.
- Language Selector: Shows the current language (e.g., "Language: en") and allows switching.
Hover
- Hover over a word in target language mode to see its English meaning, or in English mode to see its target language translation.
Configuration
- Dictionary Files: Each file should follow this format:
JSON
{
"targetTerm": ["englishMeaning1", "englishMeaning2"],
"anotherTerm": ["meaning"]
}
<<<<<<< HEAD
##WORK IN PROGRESS
--Currently working on adding support for other scripts such as Korean, Bengali, Japanese, ect..
-- Adding intellisense integration to allow for much better UX.
--Developed by Liam Earley @2025--
WORK IN PROGRESS: Japanese, Korean, Bengali & adding support for all Cyrillic languages..
539aa2f46e320c5407294a7913fc52e7f19afa64