Convert Figma logo to code with AI

ttop32 logoMouseTooltipTranslator

Mouseover Translate Any Language At Once - Chrome Extension: PDF Translator, EBOOK, EPUB, OCR, TTS, NETFLIX, YOUTUBE DUAL SUBTITLES, GOOGLE DOCS, AI, VIEWER, GMAIL, WRITING, IMAGE, DUAL SUBS, MANGA, HOVER, DICTIONARY, WEBTOON, EDGE, JAPANESE, ENGLISH

1,005
149
1,005
163

Top Related Projects

A flexible free and unlimited python tool to translate between different languages in a simple way using multiple translators.

🌏🌍🌎Translators🌎🌍🌏 is a library that aims to bring free, multiple, enjoyable translations to individuals and students in Python. Translators是一个旨在用Python为个人和学生带来免费、多样、愉快翻译的库。

(unofficial) Googletrans: Free and Unlimited Google translate API for Python. Translates totally free of charge.

Quick Overview

MouseTooltipTranslator is a Windows application that provides real-time translation of text under the mouse cursor. It uses optical character recognition (OCR) to detect text in any application or image, and then translates it into the user's chosen language, displaying the result in a tooltip.

Pros

  • Works with any application or image, not limited to specific software
  • Supports multiple languages for both source and target translations
  • Customizable appearance and behavior of the tooltip
  • Uses efficient OCR and translation APIs for quick results

Cons

  • Currently only available for Windows operating systems
  • May have occasional inaccuracies in OCR or translation
  • Requires an internet connection for translation services
  • Can potentially slow down system performance on older hardware

Getting Started

  1. Download the latest release from the GitHub releases page.
  2. Extract the downloaded ZIP file to a folder of your choice.
  3. Run the MouseTooltipTranslator.exe file.
  4. Configure your preferred source and target languages in the settings.
  5. Hover your mouse over text in any application to see the translation appear in a tooltip.

Note: The application does not require installation and can be run directly from the extracted folder.

Competitor Comparisons

A flexible free and unlimited python tool to translate between different languages in a simple way using multiple translators.

Pros of deep-translator

  • Supports multiple translation services (Google, DeepL, PONS, etc.)
  • Can be used as a Python library or command-line tool
  • Offers batch translation capabilities

Cons of deep-translator

  • Lacks a graphical user interface for easy desktop use
  • Does not provide real-time translation of on-screen text
  • May require more setup and coding knowledge to implement

Code Comparison

MouseTooltipTranslator:

def translate_text(self, text):
    translated = self.translator.translate(text, dest=self.target_language)
    return translated.text

deep-translator:

from deep_translator import GoogleTranslator
translated = GoogleTranslator(source='auto', target='de').translate("Hello World")

MouseTooltipTranslator is designed specifically for real-time translation of text under the mouse cursor, providing a convenient desktop tool. It offers a graphical interface and seamless integration with the operating system.

deep-translator, on the other hand, is a more versatile Python library that supports various translation services and can be integrated into different applications. It's better suited for developers who need translation capabilities in their Python projects or for command-line use.

While MouseTooltipTranslator focuses on ease of use for desktop users, deep-translator offers more flexibility and options for developers and command-line enthusiasts.

🌏🌍🌎Translators🌎🌍🌏 is a library that aims to bring free, multiple, enjoyable translations to individuals and students in Python. Translators是一个旨在用Python为个人和学生带来免费、多样、愉快翻译的库。

Pros of translators

  • Supports multiple translation services (Google, Yandex, Bing, etc.)
  • Can be used as a Python library, offering flexibility for developers
  • Provides both synchronous and asynchronous translation methods

Cons of translators

  • Lacks a graphical user interface for non-technical users
  • Does not offer real-time translation of on-screen text
  • Requires programming knowledge to implement and use effectively

Code Comparison

MouseTooltipTranslator (JavaScript):

function translateText(text) {
    const url = `https://translate.googleapis.com/translate_a/single?client=gtx&sl=auto&tl=${targetLang}&dt=t&q=${encodeURIComponent(text)}`;
    return fetch(url).then(response => response.json());
}

translators (Python):

from translators import google

def translate_text(text, target_lang):
    return google(text, to_language=target_lang)

MouseTooltipTranslator focuses on providing a user-friendly browser extension for real-time translation of highlighted text, while translators offers a versatile Python library for integrating various translation services into applications. The code comparison shows the simplicity of using translators as a Python library compared to the more complex implementation in MouseTooltipTranslator.

(unofficial) Googletrans: Free and Unlimited Google translate API for Python. Translates totally free of charge.

Pros of py-googletrans

  • Lightweight Python library for easy integration into existing projects
  • Supports multiple languages and automatic language detection
  • Can be used for both text and file translation

Cons of py-googletrans

  • Limited to Google Translate API, which may have usage restrictions
  • Requires Python environment and coding knowledge to implement
  • No built-in GUI or mouse-over functionality

Code Comparison

MouseTooltipTranslator:

from mtt import MouseTooltipTranslator

translator = MouseTooltipTranslator()
translator.run()

py-googletrans:

from googletrans import Translator

translator = Translator()
translated = translator.translate("Hello, world!", dest="es")
print(translated.text)

MouseTooltipTranslator provides a more user-friendly interface for real-time translation of text under the mouse cursor, while py-googletrans offers a flexible Python library for programmatic translation tasks. The choice between the two depends on the specific use case and user requirements.

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README

MouseTooltipTranslator

Chrome users Chrome rate

Mouseover Translate Any Language At Once - Chrome Extension

Download from chrome web store and Edge Extension store

chrome web store microsoft store softpedia

Result

Alt Text result result

Features

  • Hover or select (highlight) on text to translate
  • Use left ctrl to Listen pronunciation with google TTS (text to speech)
  • Use right alt to translate writing text in input box (or highlighted text)
  • Google translator and bing translator are used for translation
  • Support pdf to display translated tooltip using PDF.js
  • Support dual subtitles for youtube video
  • Process OCR when hold left shift and mouse over on image (ex manga)
  • Translate with Speech recognition

How to use

Change Log

Build yourself to install

  1. Install node js, https://nodejs.org/en/ , node 18
  2. open terminal and type below
git clone https://github.com/ttop32/MouseTooltipTranslator.git
cd MouseTooltipTranslator
npm install 
npm run build        // or 'npm run watch' for developing
  1. You will see MouseTooltipTranslator/build path
  2. Open chrome browser and goto chrome://extensions/
  3. Turn on top right corner developer mode
  4. Open the folder (MouseTooltipTranslator/build) as unpacked extension folder

Language locale

  • We are looking for any locale contributor. Feel free to make any pull request on bellow path.
  • crowdin
  • User can change this extension user interface Language by change browser UI language from

Contributors

ttop32
Daniel K
ardasatata
Arda Satata Fitriajie
neoOpus
Anoir Ben Tanfous
lg28literconvectionmicrowaveoven
Lg28literconvectionmicrowaveoven
Blueberryy
Null
michael-nhat
Hoang Van Nhat
newmind
JG
SFGFDSD
Null
di4m0nds
Silvestri, Javier
netanel123123
Null

Contributors Crowdin

logo
daniel k (ttop32)

9936 words
am, ar, bn, bg, ca, zh-CN, zh-TW, hr, cs, da, nl, en-AU, en-GB, en-US, et, fil, fi, fr, de, el, gu-IN, he, hi, hu, id, it, ja, kn, ko, lv, lt, ms, ml-IN, mr, no, fa, pl, pt-PT, pt-BR, ro, ru, sr, sk, sl, es-ES, es-419, sw, sv-SE, ta, te, th, tr, uk, vi
logo
s-upakit

234 words
th
logo
미르냥 (Mirnyang)

83 words
ko
logo
helimoreira

73 words
pt-BR
logo
Nejdet ACAR (nejdetacar)

63 words
tr
logo
CreeperYeeter2

13 words
en-AU
logo
IT SUPPORT (TTT01)

3 words
th
Translate in Crowdin 🚀

Privacy policy

Acknowledgement and References