Skip to content

Instantly share code, notes, and snippets.

@mh-firouzjah
mh-firouzjah / Translator.md
Last active May 9, 2024 15:42
Translate selected text on Linux with ease! Assign a keyboard shortcut to instantly translate and pronounce selected texts. 🌐📝

Text Translator and Pronunciation Tool

This script provides a convenient way to check spelling, pronunciation, and translation of words or text using a dictionary (such as Google Translate) directly from your Linux desktop. It can be easily integrated with a keyboard shortcut, making it globally accessible for quick translation and pronunciation of selected text.

Background

As a non-native English speaker, I often find myself needing to verify the spelling, pronunciation, or translation of words, phrases, or paragraphs using an online dictionary like Google Translate. To streamline this process, I developed a script that allows me to quickly translate and hear the pronunciation of selected text with a simple keyboard shortcut.

How It Works